(self)
| 601 | self.assertFalse(self.turtle.filling()) |
| 602 | |
| 603 | def test_fill_resets_after_exception(self): |
| 604 | # The context manager cleans up correctly after exceptions. |
| 605 | try: |
| 606 | with self.turtle.fill(): |
| 607 | self.assertTrue(self.turtle.filling()) |
| 608 | raise ValueError |
| 609 | except ValueError: |
| 610 | self.assertFalse(self.turtle.filling()) |
| 611 | |
| 612 | def test_fill_context_when_filling(self): |
| 613 | # The context manager works even when the turtle is already filling. |
nothing calls this directly
no test coverage detected