MCPcopy Create free account
hub / github.com/python/cpython / test_singletons

Method test_singletons

Lib/test/test_gdb/test_pretty_print.py:74–78  ·  view source on GitHub ↗

Verify the pretty-printing of True, False and None

(self)

Source from the content-addressed store, hash-verified

72 self.assertGdbRepr(-1000000000000000)
73
74 def test_singletons(self):
75 'Verify the pretty-printing of True, False and None'
76 self.assertGdbRepr(True)
77 self.assertGdbRepr(False)
78 self.assertGdbRepr(None)
79
80 def test_dicts(self):
81 'Verify the pretty-printing of dictionaries'

Callers

nothing calls this directly

Calls 1

assertGdbReprMethod · 0.95

Tested by

no test coverage detected