mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
Changes here are: - Split out string format module sub-test to a separate test file, so it can be skipped on targets that don't have str% capabilities. - Print the whole type instead of `.__name__` to support targets that don't have `.__name__` enabled (this still tests the same thing). - Print `RuntimeError` exception message to be sure the correct exception is being raised. This test now runs on unix and zephyr minimal configurations. Signed-off-by: Damien George <damien@micropython.org>
39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
True
|
|
True
|
|
RuntimeError name too long 256
|
|
RuntimeError name too long 257
|
|
RuntimeError name too long 258
|
|
{'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst': 1}
|
|
{'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstu': 1}
|
|
RuntimeError name too long 256
|
|
RuntimeError name too long 257
|
|
RuntimeError name too long 258
|
|
<class 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst'>
|
|
<class 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstu'>
|
|
RuntimeError name too long 256
|
|
RuntimeError name too long 257
|
|
RuntimeError name too long 258
|
|
True 123
|
|
True 123
|
|
RuntimeError name too long 256
|
|
RuntimeError name too long 256
|
|
RuntimeError name too long 257
|
|
RuntimeError name too long 257
|
|
RuntimeError name too long 258
|
|
RuntimeError name too long 258
|
|
254
|
|
255
|
|
RuntimeError name too long 256
|
|
RuntimeError name too long 257
|
|
RuntimeError name too long 258
|
|
ok 100
|
|
ok 101
|
|
RuntimeError name too long 256
|
|
RuntimeError name too long 257
|
|
RuntimeError name too long 258
|
|
ok 100
|
|
ok 101
|
|
ok 102
|
|
RuntimeError name too long 128
|
|
RuntimeError name too long 129
|