This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
5e50593738
circuitpython
/
tests
/
feature_check
/
const.py
3 lines
22 B
Python
Raw
Normal View
History
Unescape
Escape
run-tests: Add feature check for "const" keyword and skip related tests.
2017-04-02 15:51:31 -04:00
x
=
const
(
1
)
tests/feature_check: Check for lack of pass result rather than failure. Commit cb68a5741aba5d4935428674234a9d643f97405f 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>
2021-04-14 10:47:24 -04:00
print
(
x
)
Reference in New Issue
Copy Permalink