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

Class B

Lib/test/test_fractions.py:389–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387 def as_integer_ratio(self):
388 return (11, 9)
389 class B(metaclass=M):
390 pass
391 self.assertRaisesRegex(TypeError, errmsg, F, B)
392 self.assertRaisesRegex(TypeError, errmsg, F, B())
393 self.assertRaises(TypeError, F.from_number, B)

Callers 1

Calls

no outgoing calls

Tested by 1