diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-02-16 21:51:13 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-02-16 21:51:13 (GMT) |
commit | de27e482104d6930dd036f0791f76ec0555b7d85 (patch) | |
tree | 946278706ddce4d99ec9fb9ce3f1abbe1de4971f /Lib/distutils | |
parent | 0d0506ecef273135cf5c13ad5be2ad6448a155eb (diff) | |
download | cpython-de27e482104d6930dd036f0791f76ec0555b7d85.zip cpython-de27e482104d6930dd036f0791f76ec0555b7d85.tar.gz cpython-de27e482104d6930dd036f0791f76ec0555b7d85.tar.bz2 |
Merged revisions 69693 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69693 | tarek.ziade | 2009-02-16 22:41:54 +0100 (Mon, 16 Feb 2009) | 1 line
#2279: use os.sep so the MANIFEST file test work on win32
........
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/tests/test_sdist.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py index de58811..b4e922f 100644 --- a/Lib/distutils/tests/test_sdist.py +++ b/Lib/distutils/tests/test_sdist.py @@ -24,11 +24,11 @@ setup(name='fake') MANIFEST = """\ README setup.py -data/data.dt -scripts/script.py -somecode/__init__.py -somecode/doc.dat -somecode/doc.txt +data%(sep)sdata.dt +scripts%(sep)sscript.py +somecode%(sep)s__init__.py +somecode%(sep)sdoc.dat +somecode%(sep)sdoc.txt """ class sdistTestCase(support.LoggingSilencer, PyPIRCCommandTestCase): @@ -198,7 +198,7 @@ class sdistTestCase(support.LoggingSilencer, PyPIRCCommandTestCase): # checking the MANIFEST manifest = open(join(self.tmp_dir, 'MANIFEST')).read() - self.assertEquals(manifest, MANIFEST) + self.assertEquals(manifest, MANIFEST % {'sep': os.sep}) def test_suite(): return unittest.makeSuite(sdistTestCase) |