MCPcopy Index your code
hub / github.com/python/cpython / _testAttributes

Method _testAttributes

Lib/test/test_socket.py:5738–5740  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5736 self.assertEqual(self.read_file.name, self.cli_conn.fileno())
5737
5738 def _testAttributes(self):
5739 self.assertEqual(self.write_file.mode, self.write_mode)
5740 self.assertEqual(self.write_file.name, self.serv_conn.fileno())
5741
5742 def testRealClose(self):
5743 self.read_file.close()

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected