()
| 50 | |
| 51 | |
| 52 | def test_quiver_number_of_args(): |
| 53 | X = [1, 2] |
| 54 | with pytest.raises( |
| 55 | TypeError, |
| 56 | match='takes from 2 to 5 positional arguments but 1 were given'): |
| 57 | plt.quiver(X) |
| 58 | with pytest.raises( |
| 59 | TypeError, |
| 60 | match='takes from 2 to 5 positional arguments but 6 were given'): |
| 61 | plt.quiver(X, X, X, X, X, X) |
| 62 | |
| 63 | |
| 64 | def test_quiver_arg_sizes(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…