diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-11-26 06:14:29 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-11-26 06:14:29 -0500 |
commit | 8c82b63807a1f0c66d6192ada92ee6808df3534f (patch) | |
tree | eb1b2f88ea5102fe9906d50f8f2b8b163ec9938f | |
parent | 3947e84e79085571c72f9601da86cb3a31c92082 (diff) | |
download | python-coveragepy-git-8c82b63807a1f0c66d6192ada92ee6808df3534f.tar.gz |
These tests needed temp directories
-rw-r--r-- | tests/test_api.py | 4 |
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`.""" |