File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
seleniumbase/console_scripts Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
[pytest]
2
2
# Let console output be seen. Don't override the pytest plugin.
3
3
addopts = --capture =no --ignore conftest.py -p no:cacheprovider
4
- filterwarnings = ignore::DeprecationWarning
4
+ # Ignore warnings such as DeprecationWarning and pytest.PytestUnknownMarkWarning
5
+ filterwarnings = ignore::pytest.PytestWarning
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def main():
54
54
data .append ("[pytest]" )
55
55
data .append ("addopts = --capture=no --ignore conftest.py "
56
56
"-p no:cacheprovider" )
57
- data .append ("filterwarnings = ignore::DeprecationWarning " )
57
+ data .append ("filterwarnings = ignore::pytest.PytestWarning " )
58
58
file_path = "%s/%s" % (dir_name , "pytest.ini" )
59
59
file = codecs .open (file_path , "w+" , "utf-8" )
60
60
file .writelines ("\r \n " .join (data ))
You can’t perform that action at this time.
0 commit comments