mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix a cleanup.
This commit is contained in:
parent
5d5296d36e
commit
9e924ed1ac
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ class PathsTests(unittest.TestCase):
|
||||||
|
|
||||||
# Regression test for http://bugs.python.org/issue3677.
|
# Regression test for http://bugs.python.org/issue3677.
|
||||||
@unittest.skipUnless(sys.platform == 'win32', 'Windows-specific')
|
@unittest.skipUnless(sys.platform == 'win32', 'Windows-specific')
|
||||||
def _test_UNC_path(self):
|
def test_UNC_path(self):
|
||||||
with open(os.path.join(self.path, 'test_trailing_slash.py'), 'w') as f:
|
with open(os.path.join(self.path, 'test_trailing_slash.py'), 'w') as f:
|
||||||
f.write("testdata = 'test_trailing_slash'")
|
f.write("testdata = 'test_trailing_slash'")
|
||||||
# Create the UNC path, like \\myhost\c$\foo\bar.
|
# Create the UNC path, like \\myhost\c$\foo\bar.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue