mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
12 lines
278 B
Python
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()
|