diff -r 111c1253ea7a distutils2/tests/test_command_sdist.py --- a/distutils2/tests/test_command_sdist.py Sun Apr 17 23:03:49 2011 +0530 +++ b/distutils2/tests/test_command_sdist.py Sat Apr 23 12:04:00 2011 +0530 @@ -46,13 +46,13 @@ MANIFEST = """\ # file GENERATED by distutils, do NOT edit inroot.txt -data%(sep)sdata.dt -scripts%(sep)sscript.py -some%(sep)sfile.txt -some%(sep)sother_file.txt -somecode%(sep)s__init__.py -somecode%(sep)sdoc.dat -somecode%(sep)sdoc.txt +data.dt +script.py +file.txt +other_file.txt +__init__.py +doc.dat +doc.txt """ def builder(dist, filelist): @@ -234,7 +234,9 @@ self.assertEqual(len(content), 9) # checking the MANIFEST manifest = open(join(self.tmp_dir, 'MANIFEST')).read() - self.assertEqual(manifest, MANIFEST % {'sep': os.sep}) + # File names should be in the form 'data' and not 'cfg/data.cfg' + # issue 10932 + self.assertEqual(manifest, MANIFEST) # compare the expected content in zipfile with the original content in the zipfile (Issue 10932). # It means that 'config', ['cfg/data.cfg']) will create a file in config/data.cfg, not config/cfg/data.cfg