Skip to content

Commit 5d7f586

Browse files
committed
Better error-handling
1 parent f8b634d commit 5d7f586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ def _perform_pytest_unconfigure_():
14841484

14851485
def pytest_unconfigure():
14861486
""" This runs after all tests have completed with pytest. """
1487-
if sb_config._multithreaded:
1487+
if hasattr(sb_config, "_multithreaded") and sb_config._multithreaded:
14881488
import fasteners
14891489

14901490
dash_lock = fasteners.InterProcessLock(constants.Dashboard.LOCKFILE)

0 commit comments

Comments
 (0)