Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Lib/test/test_fcntl.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def test_fcntl_64_bit(self):
except OSError as exc:
if exc.errno == errno.EINVAL:
self.skipTest("F_NOTIFY not available by this environment")
raise
fcntl.fcntl(fd, cmd, flags)
finally:
os.close(fd)
Expand Down
1 change: 1 addition & 0 deletions Lib/test/test_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ def test_search_major_2(self):
except subprocess.CalledProcessError:
if not is_installed("2.7"):
raise unittest.SkipTest("requires at least one Python 2.x install")
raise
self.assertEqual("PythonCore", data["env.company"])
self.assertStartsWith(data["env.tag"], "2.")

Expand Down
1 change: 1 addition & 0 deletions Lib/test/test_pathlib/test_pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2870,6 +2870,7 @@ def test_is_socket_true(self):
if (isinstance(e, PermissionError) or
"AF_UNIX path too long" in str(e)):
self.skipTest("cannot bind Unix socket: " + str(e))
raise
self.assertTrue(P.is_socket())
self.assertFalse(P.is_fifo())
self.assertFalse(P.is_file())
Expand Down
2 changes: 2 additions & 0 deletions Lib/test/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -1427,6 +1427,7 @@ def testIPv6toString(self):
except OSError as e:
if e.winerror == 10022:
self.skipTest('IPv6 might not be supported')
raise

f = lambda a: inet_pton(AF_INET6, a)
assertInvalid = lambda a: self.assertRaises(
Expand Down Expand Up @@ -1517,6 +1518,7 @@ def testStringToIPv6(self):
except OSError as e:
if e.winerror == 10022:
self.skipTest('IPv6 might not be supported')
raise

f = lambda a: inet_ntop(AF_INET6, a)
assertInvalid = lambda a: self.assertRaises(
Expand Down
Loading