From 2bc63bcaea917856429658e0836dcc5e84d54097 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 5 Jun 2018 06:16:32 -0400 Subject: [PATCH] Fix python2js test --- test/test_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_python.py b/test/test_python.py index 90e1b656c..591086646 100644 --- a/test/test_python.py +++ b/test/test_python.py @@ -31,7 +31,7 @@ def test_python2js(selenium): 'return pyodide.runPython("\'碘化物\'") === "碘化物"') assert selenium.run_js( 'let x = pyodide.runPython("b\'bytes\'");\n' - 'return (x instanceof window.Uint8Array) && ' + 'return (x instanceof window.Uint8ClampedArray) && ' '(x.length === 5) && ' '(x[0] === 98)') assert selenium.run_js(