mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
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 ........
This commit is contained in:
parent
0d0506ecef
commit
de27e48210
1 changed files with 6 additions and 6 deletions
|
|
@ -24,11 +24,11 @@
|
|||
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 @@ def test_add_defaults(self):
|
|||
|
||||
# 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue