summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-11-26 06:14:29 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-11-26 06:14:29 -0500
commit8c82b63807a1f0c66d6192ada92ee6808df3534f (patch)
treeeb1b2f88ea5102fe9906d50f8f2b8b163ec9938f
parent3947e84e79085571c72f9601da86cb3a31c92082 (diff)
downloadpython-coveragepy-git-8c82b63807a1f0c66d6192ada92ee6808df3534f.tar.gz
These tests needed temp directories
-rw-r--r--tests/test_api.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index cbb0cf82..af759a07 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -667,7 +667,9 @@ class NamespaceModuleTest(UsingModulesMixin, CoverageTest):
class IncludeOmitTestsMixin(UsingModulesMixin, CoverageTestMethodsMixin):
"""Test methods for coverage methods taking include and omit."""
- run_in_temp_dir = False
+ # We don't write any source files, but the data file will collide with
+ # other tests if we don't have a temp dir.
+ no_files_in_temp_dir = True
def filenames_in(self, summary, filenames):
"""Assert the `filenames` are in the keys of `summary`."""