diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2023-10-09 14:07:28 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-10-30 11:10:02 +1100 |
commit | 78f4f30cb1aadbb46ad39220de5369e72c093509 (patch) | |
tree | 8fcd29126267d953fed62a38876a2f42c9f34407 /py/makeqstrdata.py | |
parent | 1a017511d0b25b8b4a6c3aaa2f2bc17e06b32fa2 (diff) | |
download | micropython-78f4f30cb1aadbb46ad39220de5369e72c093509.tar.gz micropython-78f4f30cb1aadbb46ad39220de5369e72c093509.zip |
tests/extmod/asyncio_as_uasyncio.py: Fix qstr order dependency.
This test depends on the order in which qstrs are stored in ROM, which
affects the order in which `dir()` will probe the object to see what it
supports. Because of the lazy-loading in asyncio/__init__.py, if it
tries to do e.g. `wait_for_ms` before `funcs` then it will import funcs,
making `funcs` later succeed. But in the other way around, `funcs` will
initially not be found.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/makeqstrdata.py')
0 files changed, 0 insertions, 0 deletions