summaryrefslogtreecommitdiff
path: root/pkg_resources
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources')
-rw-r--r--pkg_resources/tests/test_resources.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py
index 542795cf..efaf8db4 100644
--- a/pkg_resources/tests/test_resources.py
+++ b/pkg_resources/tests/test_resources.py
@@ -618,7 +618,8 @@ class TestNamespaces:
a natural tempdir.
"""
if not hasattr(os, 'symlink'):
- return str(tmpdir)
+ yield str(tmpdir)
+ return
link_name = str(tmpdir) + '-linked'
os.symlink(str(tmpdir), link_name)