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

Method testAttributes

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

Source from the content-addressed store, hash-verified

5732 self.assertTrue(not self.write_file.closed)
5733
5734 def testAttributes(self):
5735 self.assertEqual(self.read_file.mode, self.read_mode)
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)

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected