summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-11-22 23:03:46 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-11-22 23:03:46 (GMT)
commit513112b2293c48f163aeaf4fc8e118ad6b433368 (patch)
treec83281c49a438b3e6c00b7616d557d8d0bedda81 /Lib/test/test_importlib
parentc4821d62b4f777a530f20aecd03fd819c4f4a009 (diff)
downloadcpython-513112b2293c48f163aeaf4fc8e118ad6b433368.zip
cpython-513112b2293c48f163aeaf4fc8e118ad6b433368.tar.gz
cpython-513112b2293c48f163aeaf4fc8e118ad6b433368.tar.bz2
Issue #22834: cwd can't not exist on Windows, skip the test
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/import_/test_path.py1
1 files changed, 1 insertions, 0 deletions
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())