Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2a9710

Browse files
authored
Merge pull request #20732 from anntzer/aspar
2 parents 01a1c49 + 8d7f2a1 commit d2a9710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6263,7 +6263,7 @@ def test_zoom_inset():
62636263
fig.canvas.draw()
62646264
xx = np.array([[1.5, 2.],
62656265
[2.15, 2.5]])
6266-
assert(np.all(rec.get_bbox().get_points() == xx))
6266+
assert np.all(rec.get_bbox().get_points() == xx)
62676267
xx = np.array([[0.6325, 0.692308],
62686268
[0.8425, 0.907692]])
62696269
np.testing.assert_allclose(

lib/matplotlib/tests/test_preprocess_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_function_call_without_data(func):
8080
def test_function_call_with_dict_input(func):
8181
"""Tests with dict input, unpacking via preprocess_pipeline"""
8282
data = {'a': 1, 'b': 2}
83-
assert(func(None, data.keys(), data.values()) ==
83+
assert (func(None, data.keys(), data.values()) ==
8484
"x: ['a', 'b'], y: [1, 2], ls: x, w: xyz, label: None")
8585

8686

0 commit comments

Comments
 (0)