mirror of https://github.com/python/cpython
For diagnosis, try to list the directory first
This commit is contained in:
parent
f189e80f23
commit
5df0204091
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue