From 5416ffba3ab01aebab3909400b5a9e847022898e Mon Sep 17 00:00:00 2001 From: Maksim Terpilovskii Date: Thu, 16 Mar 2023 00:20:02 +0300 Subject: [PATCH] Update test_posthocs.py --- tests/test_posthocs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_posthocs.py b/tests/test_posthocs.py index 8cc65e4..42ca5f3 100644 --- a/tests/test_posthocs.py +++ b/tests/test_posthocs.py @@ -71,7 +71,7 @@ class TestPosthocs(unittest.TestCase): a = splt.sign_plot(x, flat=True, labels=False) with self.assertRaises(ValueError): splt.sign_plot(x.astype(float), flat=True, labels=False) - self.assertTrue(isinstance(a, ma._subplots.Axes)) + self.assertTrue(isinstance(a, ma._axes.Axes)) def test_sign_plot_nonflat(self): @@ -85,7 +85,7 @@ class TestPosthocs(unittest.TestCase): with self.assertRaises(ValueError): splt.sign_plot(x.astype(np.int64), labels=False) - self.assertTrue(isinstance(a, ma._subplots.Axes) and isinstance(cbar, mpl.colorbar.ColorbarBase)) + self.assertTrue(isinstance(a, ma._axes.Axes) and isinstance(cbar, mpl.colorbar.ColorbarBase)) # Outliers tests def test_outliers_iqr(self): -- 2.36.1