mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-26 22:53:17 +08:00
Improve the stub test a bit
This commit is contained in:
1 parent
860f627f48
commit
8e3caaca7f
1 file changed
+2
-2
@@ -75,5 +75,5 @@ def test_infer_and_goto(Script, code, full_name, has_stub, has_python, way,
|
|||||||
if only_stubs:
|
if only_stubs:
|
||||||
assert d.is_stub()
|
assert d.is_stub()
|
||||||
assert d.full_name == full_name
|
assert d.full_name == full_name
|
||||||
#if d.is_stub():
|
|
||||||
#assert d.module_path.endswith('.pyi')
|
assert d.is_stub() == d.module_path.endswith('.pyi')
|
||||||
Reference in new issue
Block a user