Lines Matching refs:wantobjects
50 self.wantobjects = self.interp.tk.wantobjects()
396 if tcl.wantobjects():
415 if self.wantobjects:
428 self.assertEqual(passValue(True), True if self.wantobjects else '1')
429 self.assertEqual(passValue(False), False if self.wantobjects else '0')
436 b'str\x00ing' if self.wantobjects else 'str\x00ing')
438 b'str\xc0\x80ing' if self.wantobjects else 'str\xc0\x80ing')
440 b'str\xbding' if self.wantobjects else 'str\xbding')
442 self.assertEqual(passValue(i), i if self.wantobjects else str(i))
448 if self.wantobjects:
452 if self.wantobjects:
462 (1, '2', (3.4,)) if self.wantobjects else '1 2 3.4')
464 ('a', ('b', 'c')) if self.wantobjects else 'a {b c}')
547 (1, '2', (3.4,)) if self.wantobjects else
552 if not self.wantobjects or tk_patchlevel < (8, 5, 5):
562 % (self.wantobjects, tcl_version, tk_patchlevel))
601 (1, '2', (3.4,)) if self.wantobjects else
605 if not self.wantobjects or get_tk_patchlevel() < (8, 5, 5):
639 {'a': (1, 2, 3) if self.wantobjects else '1 2 3',
645 if not self.wantobjects or get_tk_patchlevel() < (8, 5, 5):