aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_dist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-03-18 09:54:37 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-03-18 09:54:37 -0400
commitad2d7e483ef5531962f6ca0c463704505afeb471 (patch)
treec0411a1648273c407c1bcbc0a25c7e6beb7ab90a /setuptools/tests/test_dist.py
parentc14a674e89fa5fc6661a35ca4eb468afa886c775 (diff)
downloadexternal_python_setuptools-ad2d7e483ef5531962f6ca0c463704505afeb471.tar.gz
external_python_setuptools-ad2d7e483ef5531962f6ca0c463704505afeb471.tar.bz2
external_python_setuptools-ad2d7e483ef5531962f6ca0c463704505afeb471.zip
Use unicode literals
Diffstat (limited to 'setuptools/tests/test_dist.py')
-rw-r--r--setuptools/tests/test_dist.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/setuptools/tests/test_dist.py b/setuptools/tests/test_dist.py
index ed75b546..74bd8cc8 100644
--- a/setuptools/tests/test_dist.py
+++ b/setuptools/tests/test_dist.py
@@ -1,4 +1,7 @@
# -*- coding: utf-8 -*-
+
+from __future__ import unicode_literals
+
from setuptools import Distribution
from setuptools.extern.six.moves.urllib.request import pathname2url
from setuptools.extern.six.moves.urllib_parse import urljoin
@@ -84,9 +87,9 @@ def __maintainer_test_cases():
{'author_email': 'author@name.com',
'maintainer_email': 'maintainer@name.com'})),
('Author unicode', merge_dicts(attrs,
- {'author': u'鉄沢寛'})),
+ {'author': '鉄沢寛'})),
('Maintainer unicode', merge_dicts(attrs,
- {'maintainer': u'Jan Łukasiewicz'})),
+ {'maintainer': 'Jan Łukasiewicz'})),
]
return test_cases