Commit 05c69687 authored by Antoine Pitrou's avatar Antoine Pitrou

For diagnosis, try to list the directory first

parent 41f57ddc
...@@ -466,6 +466,7 @@ class PathsTests(unittest.TestCase): ...@@ -466,6 +466,7 @@ class PathsTests(unittest.TestCase):
unc += path[2:] unc += path[2:]
sys.path.insert(0, unc) sys.path.insert(0, unc)
try: try:
os.listdir(unc)
try: try:
mod = __import__("test_unc_path") mod = __import__("test_unc_path")
except ImportError as e: except ImportError as e:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment