Skip to content

Commit

Permalink
fix: np.int alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratyush Singh authored and Pratyush Singh committed Oct 10, 2023
1 parent 0cc38d8 commit bdc7aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/term_analysis/test_keyword_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit bdc7aa9

Please sign in to comment.