mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
For diagnosis, try to list the directory first
This commit is contained in:
parent
f189e80f23
commit
5df0204091
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue