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

Class TestNoCeil

Lib/test/test_math.py:395–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393 def __ceil__(self):
394 return 42
395 class TestNoCeil:
396 pass
397 class TestBadCeil:
398 __ceil__ = BadDescr()
399 self.assertEqual(math.ceil(TestCeil()), 42)

Callers 1

testCeilMethod · 0.85

Calls

no outgoing calls

Tested by 1

testCeilMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…