diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-02 12:00:35 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-02 12:00:35 -0400 |
commit | 178a4ab5c3af80c077572fd01d748084b35844e0 (patch) | |
tree | 996cc749151e0944ec25df71af621b9f3017933a /tests/test_pkg_resources.py | |
parent | 1bc7b7b3dd81a74d4be2bc0c4e95ba8d29dc58d9 (diff) | |
download | external_python_setuptools-178a4ab5c3af80c077572fd01d748084b35844e0.tar.gz external_python_setuptools-178a4ab5c3af80c077572fd01d748084b35844e0.tar.bz2 external_python_setuptools-178a4ab5c3af80c077572fd01d748084b35844e0.zip |
Patched test so it can be run on Python 30.7.7
Diffstat (limited to 'tests/test_pkg_resources.py')
-rw-r--r-- | tests/test_pkg_resources.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_pkg_resources.py b/tests/test_pkg_resources.py index 6e4a9348..f3256173 100644 --- a/tests/test_pkg_resources.py +++ b/tests/test_pkg_resources.py @@ -5,6 +5,11 @@ import zipfile import pkg_resources +try: + unicode +except NameError: + unicode = str + class EggRemover(unicode): def __call__(self): if self in sys.path: |