diff options
author | Miroslav Šedivý <6774676+eumiro@users.noreply.github.com> | 2021-01-08 21:07:25 +0100 |
---|---|---|
committer | Miroslav Šedivý <6774676+eumiro@users.noreply.github.com> | 2021-01-08 21:12:35 +0100 |
commit | 43753ac79bc43a161555ba8d8259c5bfcbcecc54 (patch) | |
tree | d8b61a0b310e0566a9b72a4416eca3cf7ca6cf7a /pint/testsuite/test_quantity.py | |
parent | 32b6ef749695181c24540df13c46ed18f781b73e (diff) | |
download | pint-43753ac79bc43a161555ba8d8259c5bfcbcecc54.tar.gz |
Remove redundant parentheses
Diffstat (limited to 'pint/testsuite/test_quantity.py')
-rw-r--r-- | pint/testsuite/test_quantity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pint/testsuite/test_quantity.py b/pint/testsuite/test_quantity.py index 8b6a19e..c1db505 100644 --- a/pint/testsuite/test_quantity.py +++ b/pint/testsuite/test_quantity.py @@ -1478,8 +1478,8 @@ class TestOffsetUnitMath(QuantityTestCase, ParameterizedTestCase): (((10, "degC"), 0), [(1.0, ""), (1.0, "")]), (((10, "degC"), -1), ["error", (1 / (10 + 273.15), "kelvin**-1")]), (((10, "degC"), -2), ["error", (1 / (10 + 273.15) ** 2.0, "kelvin**-2")]), - (((0, "degC"), -2), ["error", (1 / (273.15) ** 2, "kelvin**-2")]), - (((10, "degC"), (2, "")), ["error", ((283.15) ** 2, "kelvin**2")]), + (((0, "degC"), -2), ["error", (1 / 273.15 ** 2, "kelvin**-2")]), + (((10, "degC"), (2, "")), ["error", (283.15 ** 2, "kelvin**2")]), (((10, "degC"), (10, "degK")), ["error", "error"]), (((10, "kelvin"), (2, "")), [(100.0, "kelvin**2"), (100.0, "kelvin**2")]), ((2, (2, "kelvin")), ["error", "error"]), |