diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 19:18:12 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 19:18:12 -0500 |
commit | 1d83d59ffacd0736411e492786f83953d247819f (patch) | |
tree | d7a3ce3a93213d0ac889fcac8670658cb966db1f /tests/test_api.py | |
parent | ebbf3d5d59aaf638f7650db848c6583cafda8315 (diff) | |
download | python-coveragepy-git-1d83d59ffacd0736411e492786f83953d247819f.tar.gz |
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.
Diffstat (limited to 'tests/test_api.py')
-rw-r--r-- | tests/test_api.py | 4 |
1 files changed, 0 insertions, 4 deletions
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(): |