Lines Matching refs:assertGdbRepr
276 def assertGdbRepr(self, val, cmds_after_breakpoint=None): member in PrettyPrintTests
285 self.assertGdbRepr(42)
286 self.assertGdbRepr(0)
287 self.assertGdbRepr(-7)
288 self.assertGdbRepr(sys.maxint)
289 self.assertGdbRepr(-sys.maxint)
293 self.assertGdbRepr(0L)
294 self.assertGdbRepr(1000000000000L)
295 self.assertGdbRepr(-1L)
296 self.assertGdbRepr(-1000000000000000L)
300 self.assertGdbRepr(True)
301 self.assertGdbRepr(False)
302 self.assertGdbRepr(None)
306 self.assertGdbRepr({})
307 self.assertGdbRepr({'foo': 'bar'})
308 self.assertGdbRepr("{'foo': 'bar', 'douglas':42}")
312 self.assertGdbRepr([])
313 self.assertGdbRepr(range(5))
317 self.assertGdbRepr('')
318 self.assertGdbRepr('And now for something hopefully the same')
319 self.assertGdbRepr('string with embedded NUL here \0 and then some more text')
320 self.assertGdbRepr('this is byte 255:\xff and byte 128:\x80')
324 self.assertGdbRepr(tuple())
325 self.assertGdbRepr((1,))
326 self.assertGdbRepr(('foo', 'bar', 'baz'))
331 self.assertGdbRepr(u'')
333 self.assertGdbRepr(u'hello world')
337 self.assertGdbRepr(u'\u2620')
342 self.assertGdbRepr(u'\u6587\u5b57\u5316\u3051')
350 self.assertGdbRepr(u"\U0001D121")
354 self.assertGdbRepr(set())
373 self.assertGdbRepr(frozenset())