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 450db61 commit 4200653Copy full SHA for 4200653
Lib/test/test_socket.py
@@ -5334,6 +5334,8 @@ def _testMakefileClose(self):
5334
self.write_file.write(self.write_msg)
5335
self.write_file.flush()
5336
5337
+ @unittest.skipUnless(hasattr(sys, 'getrefcount'),
5338
+ 'test needs sys.getrefcount()')
5339
def testMakefileCloseSocketDestroy(self):
5340
refcount_before = sys.getrefcount(self.cli_conn)
5341
self.read_file.close()
0 commit comments