Skip to content

Commit

Permalink
Update tests/test_main.py
Browse files Browse the repository at this point in the history
Co-authored-by: Elizabeth Campolongo <[email protected]>
  • Loading branch information
johnbradley and egrace479 authored Oct 16, 2024
1 parent 403922f commit 46aff67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_parse_args(self):

# test error when using --cls with --bins
with self.assertRaises(SystemExit):
parse_args(['predict', 'image.jpg', '--cls', 'class1,class2', '--bins', 'somefile.csv', 'genus'])
parse_args(['predict', 'image.jpg', '--cls', 'class1,class2', '--bins', 'somefile.csv'])

# not an error when using --cls with --k
args = parse_args(['predict', 'image.jpg', '--cls', 'class1,class2', '--k', '10'])
Expand Down

0 comments on commit 46aff67

Please sign in to comment.