Did I find the right examples for you? yes no

All Samples(30)  |  Call(30)  |  Derive(0)  |  Import(0)

src/c/p/cpython-HEAD/Lib/tkinter/test/test_tkinter/test_geometry_managers.py   cpython(Download)
    def test_grid_configure(self):
        b = tkinter.Button(self.root)
        self.addCleanup(b.destroy)
        self.assertEqual(b.grid_info(), {})
        b.grid_configure()
        self.assertEqual(b.grid_info()['in'], self.root)
        self.assertEqual(b.grid_info()['column'], self._str(0))
        self.assertEqual(b.grid_info()['row'], self._str(0))
        b.grid_configure({'column': 1}, row=2)
        self.assertEqual(b.grid_info()['column'], self._str(1))