summaryrefslogtreecommitdiff
path: root/tests/mixins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-03-11 19:18:12 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-03-11 19:18:12 -0500
commit1d83d59ffacd0736411e492786f83953d247819f (patch)
treed7a3ce3a93213d0ac889fcac8670658cb966db1f /tests/mixins.py
parentebbf3d5d59aaf638f7650db848c6583cafda8315 (diff)
downloadpython-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/mixins.py')
-rw-r--r--tests/mixins.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/mixins.py b/tests/mixins.py
index e8068be4..7492e90c 100644
--- a/tests/mixins.py
+++ b/tests/mixins.py
@@ -56,11 +56,6 @@ class TempDirMixin(object):
# created.
run_in_temp_dir = True
- # Set this if you aren't creating any files with make_file, but still want
- # the temp directory. This will stop the test behavior checker from
- # complaining.
- no_files_in_temp_dir = False
-
@pytest.fixture(autouse=True)
def _temp_dir(self, tmpdir_factory):
"""Create a temp dir for the tests, if they want it."""