summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_api.py')
-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`."""