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 d788616 commit 183a9bfCopy full SHA for 183a9bf
seleniumbase/plugins/pytest_plugin.py
@@ -2506,8 +2506,13 @@ def pytest_unconfigure(config):
2506
reporter = config.pluginmanager.get_plugin("terminalreporter")
2507
if (
2508
not hasattr(reporter, "_sessionstarttime")
2509
- and not hasattr(reporter, "_session_start")
2510
- and not hasattr(reporter._session_start, "time")
+ and (
+ not hasattr(reporter, "_session_start")
2511
+ or (
2512
+ hasattr(reporter, "_session_start")
2513
+ and not hasattr(reporter._session_start, "time")
2514
+ )
2515
2516
):
2517
return
2518
if hasattr(sb_config, "_multithreaded") and sb_config._multithreaded:
0 commit comments