Lines Matching refs:wantobjects
51 self.wantobjects = self.interp.tk.wantobjects()
397 if tcl.wantobjects():
416 if self.wantobjects:
429 self.assertEqual(passValue(True), True if self.wantobjects else '1')
430 self.assertEqual(passValue(False), False if self.wantobjects else '0')
440 b'str\x00ing' if self.wantobjects else 'str\x00ing')
442 b'str\xc0\x80ing' if self.wantobjects else 'str\xc0\x80ing')
444 b'str\xbding' if self.wantobjects else 'str\xbding')
446 self.assertEqual(passValue(i), i if self.wantobjects else str(i))
452 if self.wantobjects:
456 if self.wantobjects:
466 (1, '2', (3.4,)) if self.wantobjects else '1 2 3.4')
468 ('a', ('b', 'c')) if self.wantobjects else 'a {b c}')
553 (1, '2', (3.4,)) if self.wantobjects else
558 if not self.wantobjects or tk_patchlevel < (8, 5, 5):
568 % (self.wantobjects, tcl_version, tk_patchlevel))
610 (1, '2', (3.4,)) if self.wantobjects else
614 if not self.wantobjects or get_tk_patchlevel() < (8, 5, 5):
649 {'a': (1, 2, 3) if self.wantobjects else '1 2 3',
655 if not self.wantobjects or get_tk_patchlevel() < (8, 5, 5):