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

Method test_begin_end_poly

Lib/test/test_turtle.py:620–625  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

618 self.assertFalse(self.turtle.filling())
619
620 def test_begin_end_poly(self):
621 self.assertFalse(self.turtle._creatingPoly)
622 self.turtle.begin_poly()
623 self.assertTrue(self.turtle._creatingPoly)
624 self.turtle.end_poly()
625 self.assertFalse(self.turtle._creatingPoly)
626
627 def test_poly(self):
628 # The context manager behaves like begin_poly and end_poly.

Callers

nothing calls this directly

Calls 4

assertFalseMethod · 0.80
begin_polyMethod · 0.80
assertTrueMethod · 0.80
end_polyMethod · 0.80

Tested by

no test coverage detected