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" )