Skip to content

Commit ad3eaba

Browse files
authored
Merge pull request #3963 from seleniumbase/fix-pytest-help
Fix "pytest --help"
2 parents d788616 + 3539e93 commit ad3eaba

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
seleniumbase install chromedriver
5252
- name: Make sure pytest is working
5353
run: |
54+
pytest --help
5455
echo "def test_1(): pass" > nothing.py
5556
pytest nothing.py
5657
- name: Make sure nosetests is working

mkdocs_build/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ regex>=2025.9.1
55
pymdown-extensions>=10.16.1
66
pipdeptree>=2.28.0
77
python-dateutil>=2.8.2
8-
Markdown==3.8.2
8+
Markdown==3.9
99
click==8.2.1
1010
ghp-import==2.1.0
1111
watchdog==6.0.0
@@ -14,7 +14,7 @@ pathspec==0.12.1
1414
Babel==2.17.0
1515
paginate==0.5.7
1616
mkdocs==1.6.1
17-
mkdocs-material==9.6.18
17+
mkdocs-material==9.6.19
1818
mkdocs-exclude-search==0.6.6
1919
mkdocs-simple-hooks==0.1.5
2020
mkdocs-material-extensions==1.3.1

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ rich>=14.1.0,<15
8282
coverage>=7.6.1;python_version<"3.9"
8383
coverage>=7.10.6;python_version>="3.9"
8484
pytest-cov>=5.0.0;python_version<"3.9"
85-
pytest-cov>=6.2.1;python_version>="3.9"
85+
pytest-cov>=6.3.0;python_version>="3.9"
8686
flake8==5.0.4;python_version<"3.9"
8787
flake8==7.3.0;python_version>="3.9"
8888
mccabe==0.7.0

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "4.41.4"
2+
__version__ = "4.41.5"

seleniumbase/plugins/pytest_plugin.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,8 +2506,13 @@ def pytest_unconfigure(config):
25062506
reporter = config.pluginmanager.get_plugin("terminalreporter")
25072507
if (
25082508
not hasattr(reporter, "_sessionstarttime")
2509-
and not hasattr(reporter, "_session_start")
2510-
and not hasattr(reporter._session_start, "time")
2509+
and (
2510+
not hasattr(reporter, "_session_start")
2511+
or (
2512+
hasattr(reporter, "_session_start")
2513+
and not hasattr(reporter._session_start, "time")
2514+
)
2515+
)
25112516
):
25122517
return
25132518
if hasattr(sb_config, "_multithreaded") and sb_config._multithreaded:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
'coverage>=7.6.1;python_version<"3.9"',
240240
'coverage>=7.10.6;python_version>="3.9"',
241241
'pytest-cov>=5.0.0;python_version<"3.9"',
242-
'pytest-cov>=6.2.1;python_version>="3.9"',
242+
'pytest-cov>=6.3.0;python_version>="3.9"',
243243
],
244244
# pip install -e .[flake8]
245245
# Usage: flake8

0 commit comments

Comments
 (0)