Files
micropython/tests/ports/webassembly/run_python_async.mjs.exp
Damien George 0148bbb495 webassembly/proxy_js: Revert back to converting Py None to JS null.
This reverts part of commit fa23e4b093, to
make it so that Python `None` converts to JavaScript `null` (and JavaScript
`null` already converts to Python `None`).  That's consistent with how the
`json` module converts these values back and forth.

Signed-off-by: Damien George <damien@micropython.org>
2024-05-16 12:44:43 +10:00

39 lines
398 B
Plaintext

= TEST 1 ==========
1
<JsProxy 1>
py 1
<JsProxy 4>
py 2
2
resolved 123
3
= TEST 2 ==========
1
<JsProxy 5>
py 1
<JsProxy 8>
py 2
2
setTimeout resolved
resolved 123
3
= TEST 3 ==========
1
py 1
setTimeout resolved
resolved value: 123
py 2
2 null
= TEST 4 ==========
1
py 1
setTimeout A resolved
resolved value: 123
py 2
resolved value: 123
py 3
setTimeout B resolved
resolved value: 456
py 4
2 null