aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_future_stmt/test_future.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_future_stmt/test_future.py')
-rw-r--r--Lib/test/test_future_stmt/test_future.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_future_stmt/test_future.py b/Lib/test/test_future_stmt/test_future.py
index 42c6cb3fefa..71f1e616116 100644
--- a/Lib/test/test_future_stmt/test_future.py
+++ b/Lib/test/test_future_stmt/test_future.py
@@ -422,6 +422,11 @@ class AnnotationsFutureTestCase(unittest.TestCase):
eq('(((a)))', 'a')
eq('(((a, b)))', '(a, b)')
eq("1 + 2 + 3")
+ eq("t''")
+ eq("t'{a + b}'")
+ eq("t'{a!s}'")
+ eq("t'{a:b}'")
+ eq("t'{a:b=}'")
def test_fstring_debug_annotations(self):
# f-strings with '=' don't round trip very well, so set the expected