Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / scikit-posthocs / 0002-Update-test_posthocs.py.patch
blobfa4d6d3ececffdff2183a8848ca6910941d59f4c
1 From 5416ffba3ab01aebab3909400b5a9e847022898e Mon Sep 17 00:00:00 2001
2 From: Maksim Terpilovskii <maximtrp@gmail.com>
3 Date: Thu, 16 Mar 2023 00:20:02 +0300
4 Subject: [PATCH] Update test_posthocs.py
6 ---
7 tests/test_posthocs.py | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/tests/test_posthocs.py b/tests/test_posthocs.py
11 index 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))
21 def test_sign_plot_nonflat(self):
23 @@ -85,7 +85,7 @@ class TestPosthocs(unittest.TestCase):
24 with self.assertRaises(ValueError):
25 splt.sign_plot(x.astype(np.int64), labels=False)
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))
30 # Outliers tests
31 def test_outliers_iqr(self):
32 --
33 2.36.1