For diagnosis, try to list the directory first

This commit is contained in:
Antoine Pitrou 2012-07-12 19:50:03 +02:00
parent f189e80f23
commit 5df0204091
1 changed files with 1 additions and 0 deletions

View File

@ -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: