summaryrefslogtreecommitdiff
path: root/pint/testsuite/test_compat_downcast.py
diff options
context:
space:
mode:
authorJules Chéron <jules.cheron@gmail.com>2022-03-30 19:19:43 +0200
committerJules Chéron <jules.cheron@gmail.com>2022-03-30 19:19:43 +0200
commit8ff983a63f4ca5fd0e9930769ade964dd4a32a08 (patch)
tree95b069c01c3405a8d3d2f3a457ea5be9ac5f55ab /pint/testsuite/test_compat_downcast.py
parent0a5b61823a0b764eeb98251c75581ac6d27cf90a (diff)
downloadpint-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.py8
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,))),