We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b249b8 commit b8d308dCopy full SHA for b8d308d
seleniumbase/plugins/pytest_plugin.py
@@ -2496,6 +2496,9 @@ def pytest_unconfigure(config):
2496
"""This runs after all tests have completed with pytest."""
2497
if "--co" in sys_argv or "--collect-only" in sys_argv:
2498
return
2499
+ reporter = config.pluginmanager.get_plugin("terminalreporter")
2500
+ if not hasattr(reporter, "_sessionstarttime"):
2501
+ return
2502
if hasattr(sb_config, "_multithreaded") and sb_config._multithreaded:
2503
import fasteners
2504
0 commit comments