mirror of
https://github.com/python/cpython.git
synced 2025-11-02 22:51:25 +00:00
Unit test fix from Giampaolo Rodola, #1938
This commit is contained in:
parent
6caad7d2cb
commit
a2af21262a
1 changed files with 1 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ def testExtract(self):
|
||||||
correctfile = os.path.join(os.getcwd(), fpath[1:])
|
correctfile = os.path.join(os.getcwd(), fpath[1:])
|
||||||
else:
|
else:
|
||||||
correctfile = os.path.join(os.getcwd(), fpath)
|
correctfile = os.path.join(os.getcwd(), fpath)
|
||||||
|
correctfile = os.path.normpath(correctfile)
|
||||||
|
|
||||||
self.assertEqual(writtenfile, correctfile)
|
self.assertEqual(writtenfile, correctfile)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue