Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 34 lines 1.3 kB view raw
1From 5416ffba3ab01aebab3909400b5a9e847022898e Mon Sep 17 00:00:00 2001 2From: Maksim Terpilovskii <maximtrp@gmail.com> 3Date: Thu, 16 Mar 2023 00:20:02 +0300 4Subject: [PATCH] Update test_posthocs.py 5 6--- 7 tests/test_posthocs.py | 4 ++-- 8 1 file changed, 2 insertions(+), 2 deletions(-) 9 10diff --git a/tests/test_posthocs.py b/tests/test_posthocs.py 11index 8cc65e4..42ca5f3 100644 12--- a/tests/test_posthocs.py 13+++ b/tests/test_posthocs.py 14@@ -71,7 +71,7 @@ class TestPosthocs(unittest.TestCase): 15 a = splt.sign_plot(x, flat=True, labels=False) 16 with self.assertRaises(ValueError): 17 splt.sign_plot(x.astype(float), flat=True, labels=False) 18- self.assertTrue(isinstance(a, ma._subplots.Axes)) 19+ self.assertTrue(isinstance(a, ma._axes.Axes)) 20 21 def test_sign_plot_nonflat(self): 22 23@@ -85,7 +85,7 @@ class TestPosthocs(unittest.TestCase): 24 with self.assertRaises(ValueError): 25 splt.sign_plot(x.astype(np.int64), labels=False) 26 27- self.assertTrue(isinstance(a, ma._subplots.Axes) and isinstance(cbar, mpl.colorbar.ColorbarBase)) 28+ self.assertTrue(isinstance(a, ma._axes.Axes) and isinstance(cbar, mpl.colorbar.ColorbarBase)) 29 30 # Outliers tests 31 def test_outliers_iqr(self): 32-- 332.36.1 34