mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Whitespace normalization.
This commit is contained in:
parent
6b95f1d963
commit
5d36a55eaa
4 changed files with 174 additions and 174 deletions
|
@ -476,7 +476,7 @@ class PosixPathTest(unittest.TestCase):
|
|||
self.safe_rmdir(ABSTFN + "/k/y")
|
||||
self.safe_rmdir(ABSTFN + "/k")
|
||||
self.safe_rmdir(ABSTFN)
|
||||
|
||||
|
||||
def test_realpath_resolve_first(self):
|
||||
# Bug #1213894: The first component of the path, if not absolute,
|
||||
# must be resolved too.
|
||||
|
@ -487,7 +487,7 @@ class PosixPathTest(unittest.TestCase):
|
|||
os.mkdir(ABSTFN + "/k")
|
||||
os.symlink(ABSTFN, ABSTFN + "link")
|
||||
os.chdir(dirname(ABSTFN))
|
||||
|
||||
|
||||
base = basename(ABSTFN)
|
||||
self.assertEqual(realpath(base + "link"), ABSTFN)
|
||||
self.assertEqual(realpath(base + "link/k"), ABSTFN + "/k")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue