From 30ea39e67c96571bc7d8ad4e355dc67aa15fb3d4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 27 Jan 2019 17:29:42 -0800 Subject: [PATCH] Add 'as a' to with-statement with type comment --- Lib/test/test_type_comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_type_comments.py b/Lib/test/test_type_comments.py index ac5b5de59e32..9b393a274d33 100644 --- a/Lib/test/test_type_comments.py +++ b/Lib/test/test_type_comments.py @@ -27,7 +27,7 @@ for a in []: # type: int withstmt = """\ -with context(): # type: int +with context() as a: # type: int pass """ -- 2.47.3