MCPcopy Index your code
hub / github.com/python/cpython / test_configure_to

Method test_configure_to

Lib/test/test_ttk/test_widgets.py:1289–1299  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1287 self.assertEqual(len(success), 2)
1288
1289 def test_configure_to(self):
1290 self.spin['from'] = 0
1291 self.spin['to'] = 5
1292 self.spin.set(4)
1293 self.spin.update()
1294 self._click_increment_arrow() # 5
1295
1296 self.assertEqual(self.spin.get(), '5')
1297
1298 self._click_increment_arrow() # 5
1299 self.assertEqual(self.spin.get(), '5')
1300
1301 def test_configure_from(self):
1302 self.spin['from'] = 1

Callers

nothing calls this directly

Calls 5

setMethod · 0.45
updateMethod · 0.45
assertEqualMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected