From: Serhiy Storchaka Date: Sun, 3 Nov 2013 21:25:42 +0000 (+0200) Subject: Fix test_os (issue #18702). X-Git-Tag: v2.7.8~301 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d412b495da02c38eaa8b46d08f9f7f0f54c3f7bd;p=python Fix test_os (issue #18702). --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index a35162f8c6..dd0696e328 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -316,7 +316,7 @@ class StatAttributeTests(unittest.TestCase): return buf.value @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") - @unittest.skipUnless(get_file_system(support.TESTFN) == "NTFS", + @unittest.skipUnless(get_file_system(test_support.TESTFN) == "NTFS", "requires NTFS") def test_1565150(self): t1 = 1159195039.25 @@ -324,7 +324,7 @@ class StatAttributeTests(unittest.TestCase): self.assertEqual(os.stat(self.fname).st_mtime, t1) @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests") - @unittest.skipUnless(get_file_system(support.TESTFN) == "NTFS", + @unittest.skipUnless(get_file_system(test_support.TESTFN) == "NTFS", "requires NTFS") def test_large_time(self): t1 = 5000000000 # some day in 2128