8459f538eb
Commit cb68a5741a
broke automatic Python
feature detection when running tests, because some detection relied on a
crash of a feature script returning exactly b"CRASH".
This commit fixes this and improves the situation by testing for the lack
of a known pass result, rather than an exact failure result.
Signed-off-by: Damien George <damien@micropython.org>
7 lines
92 B
Python
7 lines
92 B
Python
# check if async/await keywords are supported
|
|
async def foo():
|
|
await 1
|
|
|
|
|
|
print("async")
|