test_coroutines: remove whitespace
This commit is contained in:
parent
9dec03571f
commit
86cd7d6b75
@ -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…
x
Reference in New Issue
Block a user