Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sathya98 committed Jul 18, 2024
1 parent ef58978 commit 8b211a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tabpfn_client/tests/unit/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ def test_input_data_check(self):

with self.assertRaises(AssertionError) as cm:
ServiceClient.check_training_data(X[:10000], y[:10000])
self.assertEqual(str(cm.exception), "The number of samples should not be more than 10000.")
self.assertEqual(str(cm.exception), "The number of features should not be more than 500.")

with self.assertRaises(AssertionError) as cm:
ServiceClient.check_training_data(X[:, :500], y)
self.assertEqual(str(cm.exception), "The number of features should not be more than 500.")
self.assertEqual(str(cm.exception), "The number of samples should not be more than 10000.")

0 comments on commit 8b211a6

Please sign in to comment.