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:
|
||||
assert d.is_stub()
|
||||
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