commit | df93509aed538881f56edb527de8f6f8bb25b998 | [log] [tgz] |
---|---|---|
author | Anthony Sottile <asottile@umich.edu> | Thu May 17 17:14:25 2018 -0700 |
committer | Anthony Sottile <asottile@umich.edu> | Thu May 17 17:14:25 2018 -0700 |
tree | b3d235b1810f30649d6f51ae1817f43808255195 | |
parent | 805530fe2934a55dc399f80615725157dec5f062 [diff] [blame] |
Explicitly check for `ast.Name`
diff --git a/tests/check_builtin_literals_test.py b/tests/check_builtin_literals_test.py index 13f896a..5ab162e 100644 --- a/tests/check_builtin_literals_test.py +++ b/tests/check_builtin_literals_test.py
@@ -16,6 +16,8 @@ @pytest.mark.parametrize( ('expression', 'calls'), [ + # see #285 + ('x[0]()', []), # complex ("0j", []), ("complex()", [BuiltinTypeCall('complex', 1, 0)]),