From 1d83d59ffacd0736411e492786f83953d247819f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 11 Mar 2021 19:18:12 -0500 Subject: refactor: remove unused test class setting unittest_mixins would check that files got created if a test made a temporary directory, so that we could trim down making temp dirs needlessly. But we don't use unittest_mixins any more, so this setting does nothing. Remove it. --- tests/test_api.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/test_api.py') diff --git a/tests/test_api.py b/tests/test_api.py index 93b14c58..e7f02738 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -791,10 +791,6 @@ class NamespaceModuleTest(UsingModulesMixin, CoverageTest): class IncludeOmitTestsMixin(UsingModulesMixin, CoverageTest): """Test methods for coverage methods taking include and omit.""" - # 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`.""" for filename in filenames.split(): -- cgit v1.2.1