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

Method test_int

Lib/test/test_gdb/test_pretty_print.py:66–72  ·  view source on GitHub ↗

Verify the pretty-printing of various int values

(self)

Source from the content-addressed store, hash-verified

64
65 @support.requires_resource('cpu')
66 def test_int(self):
67 'Verify the pretty-printing of various int values'
68 self.assertGdbRepr(42)
69 self.assertGdbRepr(0)
70 self.assertGdbRepr(-7)
71 self.assertGdbRepr(1000000000000)
72 self.assertGdbRepr(-1000000000000000)
73
74 def test_singletons(self):
75 'Verify the pretty-printing of True, False and None'

Callers

nothing calls this directly

Calls 1

assertGdbReprMethod · 0.95

Tested by

no test coverage detected