1
0
forked from VimPlug/jedi

Remove the __builtin__ compatibility

This commit is contained in:
Dave Halter
2020-07-02 01:15:29 +02:00
parent a9d32fbc99
commit 227cf00638
9 changed files with 6 additions and 27 deletions

View File

@@ -142,8 +142,6 @@ def test_parent_context(same_process_inference_state, attribute, expected_name,
x, = o.py__getattribute__(attribute)
assert x.py__name__() == expected_name
module_name = x.parent_context.py__name__()
if module_name == '__builtin__':
module_name = 'builtins' # Python 2
assert module_name == expected_parent
assert x.parent_context.parent_context is None