From 513112b2293c48f163aeaf4fc8e118ad6b433368 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Sat, 22 Nov 2014 17:03:46 -0600 Subject: Issue #22834: cwd can't not exist on Windows, skip the test --- Lib/test/test_importlib/import_/test_path.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_importlib/import_/test_path.py b/Lib/test/test_importlib/import_/test_path.py index d5442c3..9a3c4fe 100644 --- a/Lib/test/test_importlib/import_/test_path.py +++ b/Lib/test/test_importlib/import_/test_path.py @@ -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()) -- cgit v0.12