MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_fileno

Method test_fileno

Lib/test/test_io.py:1270–1274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1268 repr(buf) # Should still work
1269
1270 def test_fileno(self):
1271 rawio = self.MockRawIO()
1272 bufio = self.tp(rawio)
1273
1274 self.assertEqual(42, bufio.fileno())
1275
1276 def test_invalid_args(self):
1277 rawio = self.MockRawIO()

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected