Files
jedi/test/test_inference/test_absolute_import.py
2020-01-11 21:59:21 +01:00

12 lines
278 B
Python

"""
Tests ``from __future__ import absolute_import`` (only important for
Python 2.X)
"""
from .. import helpers
@helpers.cwd_at("test/examples/absolute_import")
def test_can_complete_when_shadowing(Script):
script = Script(path="unittest.py")
assert script.complete()