mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-28 11:18:19 +08:00
TST: Forward arguments to numpy
This commit is contained in:
@@ -568,7 +568,8 @@ def check_allclose(actual,
|
||||
"""
|
||||
if type(actual) != type(desired):
|
||||
raise AssertionError("%s != %s" % (type(actual), type(desired)))
|
||||
return assert_allclose(actual, desired, err_msg=err_msg, verbose=True)
|
||||
return assert_allclose(actual, desired, rtol=rtol, atol=atol,
|
||||
err_msg=err_msg, verbose=verbose)
|
||||
|
||||
|
||||
def check_arrays(x, y, err_msg='', verbose=True):
|
||||
|
||||
Reference in New Issue
Block a user