Skip to content

Commit 0fe9fc5

Browse files
committed
Ignore deprecation warnings
1 parent ec7f880 commit 0fe9fc5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[pytest]
22
# Let console output be seen. Don't override the pytest plugin.
33
addopts = --capture=no --ignore conftest.py
4+
filterwarnings = ignore::DeprecationWarning

seleniumbase/console_scripts/sb_mkdir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def main():
5353
data = []
5454
data.append("[pytest]")
5555
data.append("addopts = --capture=no --ignore conftest.py")
56+
data.append("filterwarnings = ignore::DeprecationWarning")
5657
file_path = "%s/%s" % (dir_name, "pytest.ini")
5758
file = codecs.open(file_path, "w+", "utf-8")
5859
file.writelines("\r\n".join(data))

0 commit comments

Comments
 (0)