Make sure to find both stubs and non-stubs with usages

This commit is contained in:
Dave Halter
2020-01-13 20:45:53 +01:00
parent 9c1063c35a
commit e1564da23d
3 changed files with 21 additions and 1 deletions

View File

@@ -349,3 +349,11 @@ class DefinitelyNotGlobal:
def my_global(self):
def my_global(self):
pass
# -----------------
# stubs
# -----------------
from stub_folder import with_stub
#< ('stub:stub_folder.with_stub', 5, 4), ('stub_folder.with_stub', 5, 4), (0, 10)
with_stub.stub_function