Skip to content

Commit

Permalink
unittest: fix assertEquals() removed from python 3.12 (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
pesekon2 committed Jun 6, 2023
1 parent 7083353 commit 24463d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raster/r.learn.ml2/testsuite/test_gridsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_grid_search(self):

# check output tune scores
df = pd.read_csv(self.param_file)
self.assertEquals(df.shape[0], 2)
self.assertEqual(df.shape[0], 2)
self.assertIn("param_min_samples_leaf", df.columns.values)


Expand Down

0 comments on commit 24463d8

Please sign in to comment.