diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-02-07 09:38:18 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-02-07 09:38:18 -0500 |
| commit | bc9ec216eb133fd0b593dfd2661878f9c020bc7a (patch) | |
| tree | 9abfb79da4a59ab68a747e4893fc08ef72cc1636 /pkg_resources/tests/test_resources.py | |
| parent | 64378483fd433d4c7ca6a50c588b9bcb297de392 (diff) | |
| download | python-setuptools-git-bc9ec216eb133fd0b593dfd2661878f9c020bc7a.tar.gz | |
Fix syntax errors on Python 2
Diffstat (limited to 'pkg_resources/tests/test_resources.py')
| -rw-r--r-- | pkg_resources/tests/test_resources.py | 3 |
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) |
