Skip to content

Commit 515fec6

Browse files
committed
[test] skip Test_plot if matplotlib is older than 3.6
1 parent a073c39 commit 515fec6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/run_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,10 +1095,10 @@ def test_s2m_plc(self):
10951095
)
10961096

10971097

1098+
@unittest.skipIf(
1099+
(int(mpl_ver[0]), int(mpl_ver[1])) < (3, 6), "Requires Matplotlib 3.6 or higher"
1100+
)
10981101
class Test_plot(unittest.TestCase):
1099-
@unittest.skipIf(
1100-
(int(mpl_ver[0]), int(mpl_ver[1])) < (3, 6), "Requires Matplotlib 3.6 or higher"
1101-
)
11021102
def __init__(self, *args, **kwargs):
11031103
super(Test_plot, self).__init__(*args, **kwargs)
11041104
self.no, self.el = meshgrid6(

0 commit comments

Comments
 (0)