summaryrefslogtreecommitdiff
path: root/tests/mixins.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-05-01 22:07:58 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-05-02 07:38:20 -0400
commit8dd451ada6105841f1bd40dfca965da2d5779164 (patch)
tree59b66ce5ae67eef739677daaa55a26ff30584d75 /tests/mixins.py
parentb64fc3f54146b0dd32862eb2cd775350cde56940 (diff)
downloadpython-coveragepy-git-8dd451ada6105841f1bd40dfca965da2d5779164.tar.gz
test: update to latest pytest
Diffstat (limited to 'tests/mixins.py')
-rw-r--r--tests/mixins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mixins.py b/tests/mixins.py
index dd9b4e3e..0638f336 100644
--- a/tests/mixins.py
+++ b/tests/mixins.py
@@ -61,7 +61,7 @@ class TempDirMixin:
def _temp_dir(self, tmpdir_factory):
"""Create a temp dir for the tests, if they want it."""
if self.run_in_temp_dir:
- tmpdir = tmpdir_factory.mktemp("")
+ tmpdir = tmpdir_factory.mktemp("t")
self.temp_dir = str(tmpdir)
with change_dir(self.temp_dir):
# Modules should be importable from this temp directory. We don't