Home
last modified time | relevance | path

Searched refs:MockTclObj (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_functions.py16 class MockTclObj(object): class
318 image['thing']['element create'][-1]['opt'] = [MockTclObj(3),
319 MockTclObj('2m')]
330 ttk._tclobj_to_py([MockTclObj('1'), 2, MockTclObj('3m')]),
342 test_it(statespec, MockTclObj('val'), 'val', states_even)
348 test_it(('a', 'b', 'c'), MockTclObj('val'), 'val', ('a', 'b', 'c'))
435 adict['opt'] = MockTclObj(adict['opt'])
Dtest_widgets.py7 from tkinter.test.test_ttk.test_functions import MockTclObj
1620 MockTclObj('first-item'))
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_functions.py17 class MockTclObj(object): class
320 image['thing']['element create'][-1]['opt'] = [MockTclObj(3),
321 MockTclObj('2m')]
332 ttk._tclobj_to_py([MockTclObj('1'), 2, MockTclObj('3m')]),
344 test_it(statespec, MockTclObj('val'), 'val', states_even)
350 test_it(('a', 'b', 'c'), MockTclObj('val'), 'val', ('a', 'b', 'c'))
441 adict['opt'] = MockTclObj(adict['opt'])
Dtest_widgets.py8 from test_functions import MockTclObj
1442 MockTclObj('first-item'))