summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-07-12 17:50:03 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-07-12 17:50:03 (GMT)
commit5df020409187e81fe466616b4255d8ba627ba9db (patch)
treeafd2a988ba2f1bcada3c66bb676415137a882baf /Lib/test
parentf189e80f23bba5b793b3792cfb13bd6d61728b68 (diff)
downloadcpython-5df020409187e81fe466616b4255d8ba627ba9db.zip
cpython-5df020409187e81fe466616b4255d8ba627ba9db.tar.gz
cpython-5df020409187e81fe466616b4255d8ba627ba9db.tar.bz2
For diagnosis, try to list the directory first
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_import.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index a38273c..61fea78 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -466,6 +466,7 @@ class PathsTests(unittest.TestCase):
unc += path[2:]
sys.path.insert(0, unc)
try:
+ os.listdir(unc)
try:
mod = __import__("test_unc_path")
except ImportError as e: