mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue 19572: More silently skipped tests explicitly skipped.
This commit is contained in:
commit
101d9e7250
35 changed files with 135 additions and 142 deletions
|
@ -508,7 +508,7 @@ class StatAttributeTests(unittest.TestCase):
|
|||
try:
|
||||
os.stat(r"c:\pagefile.sys")
|
||||
except FileNotFoundError:
|
||||
pass # file does not exist; cannot run test
|
||||
self.skipTest(r'c:\pagefile.sys does not exist')
|
||||
except OSError as e:
|
||||
self.fail("Could not stat pagefile.sys")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue