From bdc7aa9af7ae37292619e6cd7838e76ea9cbd98b Mon Sep 17 00:00:00 2001 From: Pratyush Singh Date: Tue, 10 Oct 2023 15:49:45 -0400 Subject: [PATCH] fix: `np.int` alias --- tests/term_analysis/test_keyword_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/term_analysis/test_keyword_analyzer.py b/tests/term_analysis/test_keyword_analyzer.py index 831e16d..f142388 100644 --- a/tests/term_analysis/test_keyword_analyzer.py +++ b/tests/term_analysis/test_keyword_analyzer.py @@ -70,7 +70,7 @@ def test_preprocess_for_heat_map(self): lang_util=self.lang_util, ) unique_counts = len(counts.index.get_level_values(0).unique()) - actual_labels_shown = np.int(np.ceil(30 / unique_counts)) * unique_counts + actual_labels_shown = np.int_(np.ceil(30 / unique_counts)) * unique_counts self.assertEqual( len(top_counts) == actual_labels_shown, True, "Key word analyzer test fails" )