diff options
author | Jules Chéron <jules.cheron@gmail.com> | 2022-03-30 19:19:43 +0200 |
---|---|---|
committer | Jules Chéron <jules.cheron@gmail.com> | 2022-03-30 19:19:43 +0200 |
commit | 8ff983a63f4ca5fd0e9930769ade964dd4a32a08 (patch) | |
tree | 95b069c01c3405a8d3d2f3a457ea5be9ac5f55ab /pint/testsuite/test_compat_downcast.py | |
parent | 0a5b61823a0b764eeb98251c75581ac6d27cf90a (diff) | |
download | pint-8ff983a63f4ca5fd0e9930769ade964dd4a32a08.tar.gz |
Run new stable black version
Diffstat (limited to 'pint/testsuite/test_compat_downcast.py')
-rw-r--r-- | pint/testsuite/test_compat_downcast.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pint/testsuite/test_compat_downcast.py b/pint/testsuite/test_compat_downcast.py index be2f058..8293580 100644 --- a/pint/testsuite/test_compat_downcast.py +++ b/pint/testsuite/test_compat_downcast.py @@ -88,15 +88,15 @@ def array(request): id="division", ), pytest.param( - WR(lambda x: x ** 2), - WR(lambda x: x ** 2), - WR(lambda u: u ** 2), + WR(lambda x: x**2), + WR(lambda x: x**2), + WR(lambda u: u**2), id="square", ), pytest.param(WR(lambda x: x.T), WR(lambda x: x.T), identity, id="transpose"), pytest.param(WR(np.mean), WR(np.mean), identity, id="mean ufunc"), pytest.param(WR(np.sum), WR(np.sum), identity, id="sum ufunc"), - pytest.param(WR(np.sqrt), WR(np.sqrt), WR(lambda u: u ** 0.5), id="sqrt ufunc"), + pytest.param(WR(np.sqrt), WR(np.sqrt), WR(lambda u: u**0.5), id="sqrt ufunc"), pytest.param( WR(lambda x: np.reshape(x, (25,))), WR(lambda x: np.reshape(x, (25,))), |