summaryrefslogtreecommitdiff
path: root/tests/mixins.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mixins.py')
-rw-r--r--tests/mixins.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/mixins.py b/tests/mixins.py
index e55a05b9..25663c6e 100644
--- a/tests/mixins.py
+++ b/tests/mixins.py
@@ -66,10 +66,9 @@ class TempDirMixin:
# nose's caching importer can get confused. The full path prevents
# problems.
sys.path.insert(0, os.getcwd())
-
- yield None
+ yield
else:
- yield None
+ yield
def make_file(self, filename, text="", bytes=b"", newline=None):
"""Make a file. See `tests.helpers.make_file`"""