summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math_fun.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-08-29 15:14:29 +1000
committerDamien George <damien@micropython.org>2020-08-29 15:18:01 +1000
commit06659077a81b85882254cf0953c33b27614e018e (patch)
treef0463060ca6144a82b0e54ffc4f394c208d4d92c /tests/float/math_fun.py
parent0c7354afaf91da3dac2c5ec471603c9e7acc8eac (diff)
downloadmicropython-06659077a81b85882254cf0953c33b27614e018e.tar.gz
micropython-06659077a81b85882254cf0953c33b27614e018e.zip
all: Update Python code to conform to latest black formatting.
Updating to Black v20.8b1 there are two changes that affect the code in this repository: - If there is a trailing comma in a list (eg [], () or function call) then that list is now written out with one line per element. So remove such trailing commas where the list should stay on one line. - Spaces at the start of """ doc strings are removed. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/float/math_fun.py')
-rw-r--r--tests/float/math_fun.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/float/math_fun.py b/tests/float/math_fun.py
index 7b6bb86489..0d443a4754 100644
--- a/tests/float/math_fun.py
+++ b/tests/float/math_fun.py
@@ -62,10 +62,10 @@ binary_functions = [
copysign,
[(23.0, 42.0), (-23.0, 42.0), (23.0, -42.0), (-23.0, -42.0), (1.0, 0.0), (1.0, -0.0)],
),
- ("pow", pow, ((1.0, 0.0), (0.0, 1.0), (2.0, 0.5), (-3.0, 5.0), (-3.0, -4.0),)),
- ("atan2", atan2, ((1.0, 0.0), (0.0, 1.0), (2.0, 0.5), (-3.0, 5.0), (-3.0, -4.0),)),
- ("fmod", fmod, ((1.0, 1.0), (0.0, 1.0), (2.0, 0.5), (-3.0, 5.0), (-3.0, -4.0),)),
- ("ldexp", ldexp, ((1.0, 0), (0.0, 1), (2.0, 2), (3.0, -2), (-3.0, -4),)),
+ ("pow", pow, ((1.0, 0.0), (0.0, 1.0), (2.0, 0.5), (-3.0, 5.0), (-3.0, -4.0))),
+ ("atan2", atan2, ((1.0, 0.0), (0.0, 1.0), (2.0, 0.5), (-3.0, 5.0), (-3.0, -4.0))),
+ ("fmod", fmod, ((1.0, 1.0), (0.0, 1.0), (2.0, 0.5), (-3.0, 5.0), (-3.0, -4.0))),
+ ("ldexp", ldexp, ((1.0, 0), (0.0, 1), (2.0, 2), (3.0, -2), (-3.0, -4))),
(
"log",
log,