Thanks to visit codestin.com Credit goes to github.com
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 7ae4112 commit 547c1b9Copy full SHA for 547c1b9
1 file changed
Lib/test/test_socket.py
@@ -1442,7 +1442,8 @@ def test_uknown_socket_family_repr(self):
1442
# type and populates the socket object.
1443
#
1444
# On Windows this trick won't work, so the test is skipped.
1445
- fd, _ = tempfile.mkstemp()
+ fd, path = tempfile.mkstemp()
1446
+ self.addCleanup(os.unlink, path)
1447
with socket.socket(family=42424, type=13331, fileno=fd) as s:
1448
self.assertEqual(s.family, 42424)
1449
self.assertEqual(s.type, 13331)
0 commit comments