Fix a cleanup.
This commit is contained in:
parent
5d5296d36e
commit
9e924ed1ac
|
@ -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…
Reference in New Issue