mirror of
https://github.com/micropython/micropython.git
synced 2026-03-10 19:00:30 +01:00
Includes corresponding .exp files because this feature is only available in Python 3.14+. Tests for `!a` conversion specifier and space after `!` are not included because they are not supported by MicroPython. Signed-off-by: Koudai Aono <koxudaxi@gmail.com> Signed-off-by: Damien George <damien@micropython.org>
9 lines
214 B
Python
9 lines
214 B
Python
# check whether t-strings (PEP-750) are supported
|
|
|
|
# TODO remove this check when micropython-lib's string extends ustring
|
|
from string.templatelib import Template, Interpolation
|
|
|
|
a = 1
|
|
t = t"a={a}"
|
|
print("tstring")
|