mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue 19572: More silently skipped tests explicitly skipped.
This commit is contained in:
parent
774f909489
commit
9fe6d86709
34 changed files with 122 additions and 134 deletions
|
@ -20,7 +20,6 @@ class CurrentTimeTest(unittest.TestCase):
|
|||
t0 = server.currentTime.getCurrentTime()
|
||||
except socket.error as e:
|
||||
self.skipTest("network error: %s" % e)
|
||||
return
|
||||
|
||||
# Perform a minimal sanity check on the result, just to be sure
|
||||
# the request means what we think it means.
|
||||
|
@ -44,7 +43,6 @@ class CurrentTimeTest(unittest.TestCase):
|
|||
builders = server.getAllBuilders()
|
||||
except socket.error as e:
|
||||
self.skipTest("network error: %s" % e)
|
||||
return
|
||||
self.addCleanup(lambda: server('close')())
|
||||
|
||||
# Perform a minimal sanity check on the result, just to be sure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue