diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-01 11:54:53 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-01 11:54:53 -0500 |
commit | 90922a5eb9b2f002202a16c974b86750a46d21ea (patch) | |
tree | 0b683b953c57a35aa3f97c487146c181b4a3c1ab | |
parent | d95a7da3167e524a8decfeb258e35e8cf36a128a (diff) | |
download | external_python_setuptools-90922a5eb9b2f002202a16c974b86750a46d21ea.tar.gz external_python_setuptools-90922a5eb9b2f002202a16c974b86750a46d21ea.tar.bz2 external_python_setuptools-90922a5eb9b2f002202a16c974b86750a46d21ea.zip |
Restore Python 2.7 compatibility
-rw-r--r-- | setuptools/tests/test_sdist.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py index dcc64cf2..9ddbae8b 100644 --- a/setuptools/tests/test_sdist.py +++ b/setuptools/tests/test_sdist.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """sdist tests""" -from __future__ import print_function +from __future__ import print_function, unicode_literals import os import sys @@ -229,10 +229,6 @@ class TestSdistTest: u_contents = contents.decode('UTF-8') # The manifest should contain the UTF-8 filename - if six.PY2: - fs_enc = sys.getfilesystemencoding() - filename = filename.decode(fs_enc) - assert posix(filename) in u_contents @py3_only |