Issue #22834: cwd can't not exist on Windows, skip the test

This commit is contained in:
Zachary Ware 2014-11-22 17:03:46 -06:00
parent c4821d62b4
commit 513112b229
1 changed files with 1 additions and 0 deletions

View 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())