From 565548c9fdc42a5fedc90f36bdcde1e6f8deab2d Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 17 Jul 2018 12:46:02 -0400 Subject: [PATCH] LINT --- test/test_python.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_python.py b/test/test_python.py index fcf05f664..12dfe1628 100644 --- a/test/test_python.py +++ b/test/test_python.py @@ -122,8 +122,10 @@ def test_typed_arrays(selenium): f'window.array = new {jstype}([1, 2, 3, 4]);\n') else: selenium.run_js( - f'var buffer = pyodide._malloc(4 * {jstype}.BYTES_PER_ELEMENT);\n' - f'window.array = new {jstype}(pyodide.HEAPU8.buffer, buffer, 4);\n' + 'var buffer = pyodide._malloc(' + f'4 * {jstype}.BYTES_PER_ELEMENT);\n' + f'window.array = new {jstype}(' + 'pyodide.HEAPU8.buffer, buffer, 4);\n' 'window.array[0] = 1;\n' 'window.array[1] = 2;\n' 'window.array[2] = 3;\n'