From 8c4ba575fdd7730e71b339643f51ffadefbedb76 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 26 Aug 2021 23:27:46 +1000 Subject: 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 --- tests/basics/string_fstring_debug.py.exp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/basics/string_fstring_debug.py.exp (limited to 'tests/basics/string_fstring_debug.py.exp') 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 -- cgit v1.2.3