()
| 62 | |
| 63 | |
| 64 | def test_quiver_arg_sizes(): |
| 65 | X2 = [1, 2] |
| 66 | X3 = [1, 2, 3] |
| 67 | with pytest.raises( |
| 68 | ValueError, match=('X and Y must be the same size, but ' |
| 69 | 'X.size is 2 and Y.size is 3.')): |
| 70 | plt.quiver(X2, X3, X2, X2) |
| 71 | with pytest.raises( |
| 72 | ValueError, match=('Argument U has a size 3 which does not match ' |
| 73 | '2, the number of arrow positions')): |
| 74 | plt.quiver(X2, X2, X3, X2) |
| 75 | with pytest.raises( |
| 76 | ValueError, match=('Argument V has a size 3 which does not match ' |
| 77 | '2, the number of arrow positions')): |
| 78 | plt.quiver(X2, X2, X2, X3) |
| 79 | with pytest.raises( |
| 80 | ValueError, match=('Argument C has a size 3 which does not match ' |
| 81 | '2, the number of arrow positions')): |
| 82 | plt.quiver(X2, X2, X2, X2, X3) |
| 83 | |
| 84 | |
| 85 | def test_no_warnings(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…