From 46aff67aba2d5095c447d83cc6a3c96973a00684 Mon Sep 17 00:00:00 2001 From: John Bradley Date: Wed, 16 Oct 2024 08:29:49 -0400 Subject: [PATCH] Update tests/test_main.py Co-authored-by: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com> --- tests/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_main.py b/tests/test_main.py index e55e321..5d8ac24 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -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'])