formatting
This commit is contained in:
parent
ad7c27eee3
commit
edfd9a49c6
@ -16,7 +16,10 @@ def assert_fields_close(
|
|||||||
numpy.testing.assert_allclose(
|
numpy.testing.assert_allclose(
|
||||||
x, y, verbose=False,
|
x, y, verbose=False,
|
||||||
err_msg='Fields did not match:\n{}\n{}'.format(numpy.rollaxis(x, -1),
|
err_msg='Fields did not match:\n{}\n{}'.format(numpy.rollaxis(x, -1),
|
||||||
numpy.rollaxis(y, -1)), *args, **kwargs)
|
numpy.rollaxis(y, -1)),
|
||||||
|
*args,
|
||||||
|
**kwargs,
|
||||||
|
)
|
||||||
|
|
||||||
def assert_close(
|
def assert_close(
|
||||||
x: NDArray,
|
x: NDArray,
|
||||||
|
Loading…
Reference in New Issue
Block a user