Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jiashenC committed Sep 4, 2023
1 parent 1589f9b commit fb49182
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/integration_tests/short/test_show_info_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_show_functions(self):

expected = {
"name": ["FastRCNNObjectDetector", "ArrayCount"],
"type": ["Classification", "NdarrayFUNCTION"],
"type": ["Classification", "NdarrayFunction"],
}
expected_df = pd.DataFrame(expected)
self.assertTrue(all(expected_df.name == result.frames.name))
Expand Down
4 changes: 2 additions & 2 deletions test/unit_tests/binder/test_statement_binder.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def test_bind_func_expr(self, mock_load_function_class_from_file):
with self.assertRaises(BinderError) as cm:
binder._bind_func_expr(func_expr)
err_msg = (
f"{mock_error_msg}. Please verify that the Function class name in the "
"implementation file matches the Function name."
f"{mock_error_msg}. Please verify that the function class name in the "
"implementation file matches the function name."
)
self.assertEqual(str(cm.exception), err_msg)

Expand Down

0 comments on commit fb49182

Please sign in to comment.