diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-06 17:42:09 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-02-06 17:42:09 -0500 |
| commit | 2649694ee5b8cddecf53a1bc56e35311d7200d06 (patch) | |
| tree | 0e8069701098b261aff680733846f90f2ae995ee | |
| parent | 90d6d01b30390637d0868840de1ddec70a13bc53 (diff) | |
| download | python-coveragepy-git-2649694ee5b8cddecf53a1bc56e35311d7200d06.tar.gz | |
test: metacov is always xdist
| -rw-r--r-- | tests/conftest.py | 2 |
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. |
