diff options
-rw-r--r-- | Lib/test/test_coroutines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_coroutines.py b/Lib/test/test_coroutines.py index e869fd2..a84e27a 100644 --- a/Lib/test/test_coroutines.py +++ b/Lib/test/test_coroutines.py @@ -113,7 +113,7 @@ class AsyncBadSyntaxTest(unittest.TestCase): '{await a for a in b}', '{await a: c for a in b}'}: - with self.assertRaisesRegex( SyntaxError, 'await.*in comprehen'): + with self.assertRaisesRegex(SyntaxError, 'await.*in comprehen'): exec('async def f():\n\t{}'.format(comp), ns, ns) |