This directory contains tests for various functionality areas of MicroPython.To run all stable tests, run "run-tests" script in this directory.Tests of capabilities not supported on all platforms should be writtento check for the capability being present. If it is not, the testshould merely output 'SKIP' followed by the line terminator, and callsys.exit() to raise SystemExit, instead of attempting to test themissing capability. The testing framework (run-tests in thisdirectory, test_main.c in qemu_arm) recognizes this as a skipped test.There are a few features for which this mechanism cannot be used tocondition a test. The run-tests script uses small scripts in thefeature_check directory to check whether each such feature is present,and skips the relevant tests if not.When creating new tests, anything that relies on float support should go in thefloat/ subdirectory. Anything that relies on import x, where x is not a built-inmodule, should go in the import/ subdirectory.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。