From 0fb366beeb41cb3388534105d2a76b2643e47022 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 6 Feb 2021 17:42:09 -0500 Subject: test: metacov is always xdist --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.1