diff options
Diffstat (limited to 'Lib/test/test_grammar.py')
-rw-r--r-- | Lib/test/test_grammar.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 67a61d4..03f2c84 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -1345,18 +1345,6 @@ class GrammarTests(unittest.TestCase): self.assertEqual(m.other, 42) def test_async_await(self): - async = 1 - await = 2 - self.assertEqual(async, 1) - - def async(): - nonlocal await - await = 10 - async() - self.assertEqual(await, 10) - - self.assertFalse(bool(async.__code__.co_flags & inspect.CO_COROUTINE)) - async def test(): def sum(): pass |