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

Method test_begin_end_fill

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

Source from the content-addressed store, hash-verified

587 self.addCleanup(setattr, turtle.Turtle, '_screen', None)
588
589 def test_begin_end_fill(self):
590 self.assertFalse(self.turtle.filling())
591 self.turtle.begin_fill()
592 self.assertTrue(self.turtle.filling())
593 self.turtle.end_fill()
594 self.assertFalse(self.turtle.filling())
595
596 def test_fill(self):
597 # The context manager behaves like begin_fill and end_fill.

Callers

nothing calls this directly

Calls 5

assertFalseMethod · 0.80
fillingMethod · 0.80
begin_fillMethod · 0.80
assertTrueMethod · 0.80
end_fillMethod · 0.80

Tested by

no test coverage detected