diff options
| author | Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> | 2019-05-19 01:10:20 +0300 |
|---|---|---|
| committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-05-18 23:10:20 +0100 |
| commit | fa19a25c238d0769e6a5aa63ce05133d66043556 (patch) | |
| tree | 077b992633fa929e61a03b606803d84a9f9f524a /Lib | |
| parent | eab99650799699f766c2660f4cfa8ff3f9e8457f (diff) | |
| download | cpython-git-fa19a25c238d0769e6a5aa63ce05133d66043556.tar.gz | |
Add support for PEP572 in ast_unparse.c (GH-13337)
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/test/test_future.py | 2 |
1 files changed, 2 insertions, 0 deletions
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__": |
