(self)
| 594 | self.assertFalse(self.turtle.filling()) |
| 595 | |
| 596 | def test_fill(self): |
| 597 | # The context manager behaves like begin_fill and end_fill. |
| 598 | self.assertFalse(self.turtle.filling()) |
| 599 | with self.turtle.fill(): |
| 600 | self.assertTrue(self.turtle.filling()) |
| 601 | self.assertFalse(self.turtle.filling()) |
| 602 | |
| 603 | def test_fill_resets_after_exception(self): |
| 604 | # The context manager cleans up correctly after exceptions. |
nothing calls this directly
no test coverage detected