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 11[pytest]
22# Let console output be seen. Don't override the pytest plugin.
33addopts = --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():
5454 data .append ("[pytest]" )
5555 data .append ("addopts = --capture=no --ignore conftest.py "
5656 "-p no:cacheprovider" )
57- data .append ("filterwarnings = ignore::DeprecationWarning " )
57+ data .append ("filterwarnings = ignore::pytest.PytestWarning " )
5858 file_path = "%s/%s" % (dir_name , "pytest.ini" )
5959 file = codecs .open (file_path , "w+" , "utf-8" )
6060 file .writelines ("\r \n " .join (data ))
You can’t perform that action at this time.
0 commit comments