summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future.py
diff options
context:
space:
mode:
authorBatuhan Taşkaya <47358913+isidentical@users.noreply.github.com>2019-05-18 22:10:20 (GMT)
committerPablo Galindo <Pablogsal@gmail.com>2019-05-18 22:10:20 (GMT)
commitfa19a25c238d0769e6a5aa63ce05133d66043556 (patch)
tree077b992633fa929e61a03b606803d84a9f9f524a /Lib/test/test_future.py
parenteab99650799699f766c2660f4cfa8ff3f9e8457f (diff)
downloadcpython-fa19a25c238d0769e6a5aa63ce05133d66043556.zip
cpython-fa19a25c238d0769e6a5aa63ce05133d66043556.tar.gz
cpython-fa19a25c238d0769e6a5aa63ce05133d66043556.tar.bz2
Add support for PEP572 in ast_unparse.c (GH-13337)
Diffstat (limited to 'Lib/test/test_future.py')
-rw-r--r--Lib/test/test_future.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_future.py b/Lib/test/test_future.py
index 38de3df..cd320a2 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__":