Commit dfbc9616 authored by Jason R. Coombs's avatar Jason R. Coombs

Add test for regression on Python 3 when LANG=C and there is non-ascii in the...

Add test for regression on Python 3 when LANG=C and there is non-ascii in the metadata file before the version. Ref #469.
parent 7a37ebfa
# coding: utf-8
from __future__ import unicode_literals
import sys
import tempfile
import os
......@@ -144,7 +147,8 @@ class TestDeepVersionLookupDistutils(object):
Create a foo package installed (distutils-style) to env.paths['lib']
as version.
"""
attrs = dict(name='foo', version=version)
ld = "This package has unicode metadata! ❄"
attrs = dict(name='foo', version=version, long_description=ld)
dist = distutils.dist.Distribution(attrs)
iei_cmd = distutils.command.install_egg_info.install_egg_info(dist)
iei_cmd.initialize_options()
......
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