Fix python2js test

This commit is contained in:
Michael Droettboom 2018-06-05 06:16:32 -04:00
parent c5fb1e497d
commit 2bc63bcaea
1 changed files with 1 additions and 1 deletions

View File

@ -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(