Files
micropython/tests/basics/string_tstring_operations.py.exp
Koudai Aono bdef10a92b tests: Add full feature and coverage tests for PEP 750 template strings.
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>
2026-03-09 23:47:33 +11:00

24 lines
470 B
Plaintext

=== Binary operations ===
Template+str: TypeError
str+Template: TypeError
int+Template: TypeError
-: unsupported
*: unsupported
/: unsupported
%: unsupported
**: unsupported
&: unsupported
|: unsupported
^: unsupported
<<: unsupported
>>: unsupported
=== Template.__add__ with multiple interpolations ===
Template.__add__: OK (40 interpolations)
=== Template + non-string object ===
Template + custom object: TypeError (correct)
=== 2-tuple constructor overflow ===