mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +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 @@ class TestsWithSourceFile(unittest.TestCase):
|
|||
correctfile = os.path.join(os.getcwd(), fpath[1:])
|
||||
else:
|
||||
correctfile = os.path.join(os.getcwd(), fpath)
|
||||
correctfile = os.path.normpath(correctfile)
|
||||
|
||||
self.assertEqual(writtenfile, correctfile)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue