We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a1b89d commit 87edc5eCopy full SHA for 87edc5e
Lib/test/test_import.py
@@ -548,7 +548,7 @@ def _test_UNC_path(self):
548
try:
549
os.listdir(unc)
550
except OSError as e:
551
- if e.errno in (errno.EPERM, errno.EACCES):
+ if e.errno in (errno.EPERM, errno.EACCES, errno.ENOENT):
552
# See issue #15338
553
self.skipTest("cannot access administrative share %r" % (unc,))
554
raise
Lib/test/test_tcl.py
@@ -256,7 +256,7 @@ def testLoadWithUNC(self):
256
257
p = Popen(cmd, stdout=PIPE, stderr=PIPE)
258
except WindowsError as e:
259
- if e.winerror == 5:
+ if e.winerror == 5 or e.winerror == 2:
260
self.skipTest('Not permitted to start the child process')
261
else:
262
0 commit comments