summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 0ce494c8..81ec9f77 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -82,7 +82,7 @@ def fix_xdist_sys_path():
See: https://github.com/pytest-dev/pytest-xdist/issues/376
"""
- if os.environ.get('PYTEST_XDIST_WORKER', ''):
+ if os.environ.get('PYTEST_XDIST_WORKER', ''): # pragma: part covered
# We are running in an xdist worker.
if sys.path[1] == '':
# xdist has set sys.path[1] to ''. Clobber it.