summaryrefslogtreecommitdiff
path: root/tests/mixins.py
diff options
context:
space:
mode:
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