Skip to content

Commit 7239266

Browse files
authored
Merge pull request #327 from seleniumbase/update-pytest-version
Use pytest>=4.5.0
2 parents 656de3b + cc36955 commit 7239266

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

pytest.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[pytest]
22
# Let console output be seen. Don't override the pytest plugin.
33
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

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ urllib3==1.24.3
1010
requests>=2.21.0
1111
selenium==3.141.0
1212
pluggy>=0.11.0
13-
pytest>=4.4.2
13+
pytest>=4.5.0
1414
pytest-cov>=2.7.1
1515
pytest-forked>=1.0.2
1616
pytest-html>=1.20.0

seleniumbase/console_scripts/sb_mkdir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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))

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setup(
1919
name='seleniumbase',
20-
version='1.23.9',
20+
version='1.23.10',
2121
description='Reliable Browser Automation & Testing Framework',
2222
long_description=long_description,
2323
long_description_content_type='text/markdown',
@@ -63,7 +63,7 @@
6363
'requests>=2.21.0',
6464
'selenium==3.141.0',
6565
'pluggy>=0.11.0',
66-
'pytest>=4.4.2',
66+
'pytest>=4.5.0',
6767
'pytest-cov>=2.7.1',
6868
'pytest-forked>=1.0.2',
6969
'pytest-html>=1.20.0',

0 commit comments

Comments
 (0)