diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-15 23:39:17 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-15 23:39:17 -0400 |
commit | 836f7004959909767640822caee8ad3af26a938d (patch) | |
tree | 097830c036b2ad3752be02080dc239d1eafe257e /setuptools | |
parent | 83658a39f37a2ece19b1f7409edc11a1bdd9cce3 (diff) | |
download | external_python_setuptools-836f7004959909767640822caee8ad3af26a938d.tar.gz external_python_setuptools-836f7004959909767640822caee8ad3af26a938d.tar.bz2 external_python_setuptools-836f7004959909767640822caee8ad3af26a938d.zip |
Extend docstring for test_write_manifest_skips_non_utf8_filenames
Diffstat (limited to 'setuptools')
-rw-r--r-- | setuptools/tests/test_sdist.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py index 71d10757..10042a44 100644 --- a/setuptools/tests/test_sdist.py +++ b/setuptools/tests/test_sdist.py @@ -204,7 +204,12 @@ class TestSdistTest(unittest.TestCase): self.assertTrue(u_filename in mm.filelist.files) def test_write_manifest_skips_non_utf8_filenames(self): - # Test for #303. + """ + Files that cannot be encoded to UTF-8 (specifically, those that + weren't originally successfully decoded and have surrogate + escapes) should be omitted from the manifest. + See https://bitbucket.org/tarek/distribute/issue/303 for history. + """ dist = Distribution(SETUP_ATTRS) dist.script_name = 'setup.py' mm = manifest_maker(dist) |