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

Method test_tuples

Lib/test/test_gdb/test_pretty_print.py:161–165  ·  view source on GitHub ↗

Verify the pretty-printing of tuples

(self)

Source from the content-addressed store, hash-verified

159 check_repr(chr(0x1D121))
160
161 def test_tuples(self):
162 'Verify the pretty-printing of tuples'
163 self.assertGdbRepr(tuple(), '()')
164 self.assertGdbRepr((1,), '(1,)')
165 self.assertGdbRepr(('foo', 'bar', 'baz'))
166
167 @support.requires_resource('cpu')
168 def test_sets(self):

Callers

nothing calls this directly

Calls 1

assertGdbReprMethod · 0.95

Tested by

no test coverage detected