diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2012-07-12 19:50:03 +0200 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-07-12 19:50:03 +0200 |
| commit | 5df020409187e81fe466616b4255d8ba627ba9db (patch) | |
| tree | afd2a988ba2f1bcada3c66bb676415137a882baf | |
| parent | f189e80f23bba5b793b3792cfb13bd6d61728b68 (diff) | |
| download | cpython-git-5df020409187e81fe466616b4255d8ba627ba9db.tar.gz | |
For diagnosis, try to list the directory first
| -rw-r--r-- | Lib/test/test_import.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index a38273c50a..61fea78934 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: |
