(rotation)
| 797 | |
| 798 | @pytest.mark.parametrize('rotation', ['invalid string', [90]]) |
| 799 | def test_invalid_rotation_values(rotation): |
| 800 | with pytest.raises( |
| 801 | ValueError, |
| 802 | match=("rotation must be 'vertical', 'horizontal' or a number")): |
| 803 | Text(0, 0, 'foo', rotation=rotation) |
| 804 | |
| 805 | |
| 806 | def test_invalid_color(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…