]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #22834: cwd can't not exist on Windows, skip the test
authorZachary Ware <zachary.ware@gmail.com>
Sat, 22 Nov 2014 23:03:46 +0000 (17:03 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Sat, 22 Nov 2014 23:03:46 +0000 (17:03 -0600)
Lib/test/test_importlib/import_/test_path.py

index d5442c328a499b5fc0f37307d9b7f65f80f457a3..9a3c4fe877f6a88d518df41ce5b7f5f9934c9001 100644 (file)
@@ -159,6 +159,7 @@ class FinderTests:
             got = self.machinery.PathFinder.find_spec('whatever', [path])
         self.assertEqual(got, success_finder.spec)
 
+    @unittest.skipIf(sys.platform == 'win32', "cwd can't not exist on Windows")
     def test_deleted_cwd(self):
         # Issue #22834
         self.addCleanup(os.chdir, os.getcwd())