From fa19a25c238d0769e6a5aa63ce05133d66043556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Ta=C5=9Fkaya?= <47358913+isidentical@users.noreply.github.com> Date: Sun, 19 May 2019 01:10:20 +0300 Subject: Add support for PEP572 in ast_unparse.c (GH-13337) --- Lib/test/test_future.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/test/test_future.py') diff --git a/Lib/test/test_future.py b/Lib/test/test_future.py index 38de3dfdaf..cd320a266a 100644 --- a/Lib/test/test_future.py +++ b/Lib/test/test_future.py @@ -275,6 +275,8 @@ class AnnotationsFutureTestCase(unittest.TestCase): eq('f((x for x in a), 2)') eq('(((a)))', 'a') eq('(((a, b)))', '(a, b)') + eq("(x:=10)") + eq("f'{(x:=10):=10}'") if __name__ == "__main__": -- cgit v1.2.1