summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-02-06 17:42:09 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-02-07 17:24:44 -0500
commit0fb366beeb41cb3388534105d2a76b2643e47022 (patch)
treea76eae956a816579db41bb46a1c2033c44f1a1d7
parent5eb2f15608bead6961da6ba9f56ebbfc6308254e (diff)
downloadpython-coveragepy-git-0fb366beeb41cb3388534105d2a76b2643e47022.tar.gz
test: metacov is always xdist
-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.