mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-17 22:09:37 +08:00
Implement all remaining Path issues and use it instead of strings
This commit is contained in:
@@ -87,4 +87,4 @@ def test_infer_and_goto(Script, code, full_name, has_stub, has_python, way,
|
||||
assert has_python == (not d.is_stub())
|
||||
assert d.full_name == full_name
|
||||
|
||||
assert d.is_stub() == d.module_path.endswith('.pyi')
|
||||
assert d.is_stub() == (d.module_path.suffix == '.pyi')
|
||||
|
||||
Reference in New Issue
Block a user