()
| 786 | |
| 787 | |
| 788 | def test_update_mutate_input(): |
| 789 | inp = dict(fontproperties=FontProperties(weight="bold"), |
| 790 | bbox=None) |
| 791 | cache = dict(inp) |
| 792 | t = Text() |
| 793 | t.update(inp) |
| 794 | assert inp['fontproperties'] == cache['fontproperties'] |
| 795 | assert inp['bbox'] == cache['bbox'] |
| 796 | |
| 797 | |
| 798 | @pytest.mark.parametrize('rotation', ['invalid string', [90]]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…