3e23c4eb8290d5e1b781848a0b8b9682ac709b25,lib/matplotlib/tests/test_contour.py,,test_contour_shape_invalid_2,#,132

Before Change


    fig = plt.figure()
    ax = fig.add_subplot(111)

    try:
        ax.contour(x, y, z)
    except TypeError as exc:
        assert exc.args[0] == "Input z must be a 2D array."


@image_comparison(baseline_images=["contour_manual_labels"])
def test_contour_manual_labels():

    x, y = np.meshgrid(np.arange(0, 10), np.arange(0, 10))

After Change


    fig = plt.figure()
    ax = fig.add_subplot(111)

    with pytest.raises(TypeError) as excinfo:
        ax.contour(x, y, z)
    excinfo.match(r"Input z must be a 2D array.")


@image_comparison(baseline_images=["contour_manual_labels"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 7

Instances


Project Name: matplotlib/matplotlib
Commit Name: 3e23c4eb8290d5e1b781848a0b8b9682ac709b25
Time: 2017-03-09
Author: ianthomas23@gmail.com
File Name: lib/matplotlib/tests/test_contour.py
Class Name:
Method Name: test_contour_shape_invalid_2


Project Name: matplotlib/matplotlib
Commit Name: 3e23c4eb8290d5e1b781848a0b8b9682ac709b25
Time: 2017-03-09
Author: ianthomas23@gmail.com
File Name: lib/matplotlib/tests/test_contour.py
Class Name:
Method Name: test_contour_shape_mismatch_2


Project Name: scikit-learn/scikit-learn
Commit Name: 9b39c4c4d20eef7a2b0b8420945f09d3731e1b67
Time: 2020-02-16
Author: sci@feldbauer.org
File Name: sklearn/feature_extraction/tests/test_text.py
Class Name:
Method Name: test_countvectorizer_custom_vocabulary_gap_index


Project Name: matplotlib/matplotlib
Commit Name: 3e23c4eb8290d5e1b781848a0b8b9682ac709b25
Time: 2017-03-09
Author: ianthomas23@gmail.com
File Name: lib/matplotlib/tests/test_contour.py
Class Name:
Method Name: test_contour_shape_mismatch_3


Project Name: scikit-learn/scikit-learn
Commit Name: 9b39c4c4d20eef7a2b0b8420945f09d3731e1b67
Time: 2020-02-16
Author: sci@feldbauer.org
File Name: sklearn/feature_extraction/tests/test_text.py
Class Name:
Method Name: test_countvectorizer_custom_vocabulary_repeated_indices


Project Name: matplotlib/matplotlib
Commit Name: 3e23c4eb8290d5e1b781848a0b8b9682ac709b25
Time: 2017-03-09
Author: ianthomas23@gmail.com
File Name: lib/matplotlib/tests/test_contour.py
Class Name:
Method Name: test_contour_shape_mismatch_1


Project Name: matplotlib/matplotlib
Commit Name: 3e23c4eb8290d5e1b781848a0b8b9682ac709b25
Time: 2017-03-09
Author: ianthomas23@gmail.com
File Name: lib/matplotlib/tests/test_contour.py
Class Name:
Method Name: test_contour_shape_invalid_1