Skip to content

Commit

Permalink
syntax error of assertEquals rather than assertEqual in unittest.Test…
Browse files Browse the repository at this point in the history
…Case (#549)
  • Loading branch information
lschilders authored Sep 27, 2024
1 parent 6749ad3 commit a071eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/model/regressors/test_flatliner.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_quantile_fit(self):

result: np.ndarray = model.predict(train_input.iloc[:, 1:])

self.assertEquals(len(result), len(train_input.iloc[:, 1:]))
self.assertEqual(len(result), len(train_input.iloc[:, 1:]))
self.assertTrue((result == 0).all())

def test_get_feature_names_from_linear(self):
Expand Down

0 comments on commit a071eac

Please sign in to comment.