Skip to content

Commit

Permalink
DEP: Avoid the deprecated assertion.function_eq function
Browse files Browse the repository at this point in the history
  • Loading branch information
BvB93 committed Apr 11, 2023
1 parent d6f632e commit f89145b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ def test_subset_schema() -> None:
weight = subset_dict.pop('weight')

assertion.eq(subset_dict, ref)
assertion.function_eq(weight, str_to_func('np.exp(-x)'))

subset_dict['p'] = 'bob' # Exception: incorrect type
assertion.assert_(subset_schema.validate, subset_dict, exception=SchemaError)
Expand Down

0 comments on commit f89145b

Please sign in to comment.