Commit 90922a5e authored by Jason R. Coombs's avatar Jason R. Coombs

Restore Python 2.7 compatibility

parent d95a7da3
# -*- 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment