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

Method test_ident

Lib/test/test_dummy_thread.py:131–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 # TODO: RUSTPYTHON
130 @unittest.expectedFailure
131 def test_ident(self):
132 self.assertIsInstance(_thread.get_ident(), int,
133 "_thread.get_ident() returned a non-integer")
134 self.assertGreater(_thread.get_ident(), 0)
135
136 def test_LockType(self):
137 self.assertIsInstance(_thread.allocate_lock(), _thread.LockType,

Callers

nothing calls this directly

Calls 2

assertIsInstanceMethod · 0.80
assertGreaterMethod · 0.80

Tested by

no test coverage detected