mirror of https://github.com/python/cpython
Merge 3.5
This commit is contained in:
commit
b2c42c2a8f
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue