satisfy flake8

This commit is contained in:
Batuhan Taskaya
2020-09-24 10:48:22 +03:00
parent 606c528803
commit 52cfa5a8ac

View File

@@ -230,6 +230,7 @@ def test_iter_funcdefs():
func_names = [f.name.value for f in module.iter_funcdefs()]
assert func_names == ['normal', 'asyn', 'dec_normal', 'dec_async']
def test_with_stmt_get_test_node_from_name():
code = "with A as X.Y, B as (Z), C as Q[0], D as Q['foo']: pass"
with_stmt = parse(code, version='3').children[0]