/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
test_functions.py | 129 result = ttk._format_mapdict(opts) 132 self.assertEqual(ttk._format_mapdict(opts, script=True), 135 self.assertEqual(ttk._format_mapdict({2: []}), ('-2', '')) 138 result = ttk._format_mapdict(opts) 143 self.assertEqual(ttk._format_mapdict(valid), ('-opt', '{ } hi')) 147 self.assertRaises(TypeError, ttk._format_mapdict, invalid) 149 self.assertRaises(TypeError, ttk._format_mapdict, invalid) 152 self.assertEqual(ttk._format_mapdict(valid), ('-opt', '1 value')) 156 self.assertEqual(ttk._format_mapdict(valid), 161 self.assertRaises(TypeError, ttk._format_mapdict, opts [all...] |
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
test_functions.py | 128 result = ttk._format_mapdict(opts) 131 self.assertEqual(ttk._format_mapdict(opts, script=True), 134 self.assertEqual(ttk._format_mapdict({2: []}), ('-2', '')) 137 result = ttk._format_mapdict(opts) 142 self.assertEqual(ttk._format_mapdict(valid), ('-opt', '{ } hi')) 146 self.assertRaises(TypeError, ttk._format_mapdict, invalid) 148 self.assertRaises(TypeError, ttk._format_mapdict, invalid) 151 self.assertEqual(ttk._format_mapdict(valid), ('-opt', '1 value')) 155 self.assertEqual(ttk._format_mapdict(valid), 160 self.assertRaises(TypeError, ttk._format_mapdict, opts [all...] |
/external/python/cpython2/Lib/lib-tk/ |
ttk.py | 100 def _format_mapdict(mapdict, script=False): function 217 s = ' '.join(_format_mapdict(opts['map'], True)) 247 accepted statespec accepted by _format_mapdict.""" 403 self.tk.call(self._name, "map", style, *_format_mapdict(kw)), [all...] |
/external/python/cpython3/Lib/tkinter/ |
ttk.py | 100 def _format_mapdict(mapdict, script=False): function 217 s = ' '.join(_format_mapdict(opts['map'], True)) 247 accepted statespec accepted by _format_mapdict.""" 405 self.tk.call(self._name, "map", style, *_format_mapdict(kw)), [all...] |