[Python-checkins] cpython: Issue #22834: cwd can't not exist on Windows, skip the test
zach.ware
python-checkins at python.org
Sat Nov 22 18:04:40 CET 2014
https://hg.python.org/cpython/rev/d065e6474b67
changeset: 93535:d065e6474b67
user: Zachary Ware <zachary.ware at gmail.com>
date: Sat Nov 22 17:03:46 2014 -0600
summary:
Issue #22834: cwd can't not exist on Windows, skip the test
files:
Lib/test/test_importlib/import_/test_path.py | 1 +
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
--- a/Lib/test/test_importlib/import_/test_path.py
+++ b/Lib/test/test_importlib/import_/test_path.py
@@ -159,6 +159,7 @@
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())
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list