diff options
author | Damien George <damien@micropython.org> | 2021-08-26 23:27:46 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-08-26 23:56:02 +1000 |
commit | 8c4ba575fdd7730e71b339643f51ffadefbedb76 (patch) | |
tree | 1ada6627b806224e0c0105eff167e7c71b1d5d37 /tests/basics/string_fstring_debug.py.exp | |
parent | 145fedef8d74a504c4b7c000e6c305602d07feff (diff) | |
download | micropython-8c4ba575fdd7730e71b339643f51ffadefbedb76.tar.gz micropython-8c4ba575fdd7730e71b339643f51ffadefbedb76.zip |
tests/basics: Split f-string debug printing to separate file with .exp.
This feature {x=} was introduced in Python 3.8 so needs a separate .exp
file to run on earlier Python versions.
See https://bugs.python.org/issue36817
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/string_fstring_debug.py.exp')
-rw-r--r-- | tests/basics/string_fstring_debug.py.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basics/string_fstring_debug.py.exp b/tests/basics/string_fstring_debug.py.exp new file mode 100644 index 0000000000..563030f400 --- /dev/null +++ b/tests/basics/string_fstring_debug.py.exp @@ -0,0 +1,6 @@ +x=1 +x=00000001 +a x=1 b 2 c +a x=00000001 b 2 c +a f() + g("foo") + h()=15 b +a f() + g("foo") + h()=0000000f b |