mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
test_coroutines: remove whitespace
This commit is contained in:
parent
9dec03571f
commit
86cd7d6b75
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class AsyncBadSyntaxTest(unittest.TestCase):
|
||||||
'{await a for a in b}',
|
'{await a for a in b}',
|
||||||
'{await a: c 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)
|
exec('async def f():\n\t{}'.format(comp), ns, ns)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue