SoftwareUnderstanding / inspect4py

Static code analysis package for Python repositories
https://inspect4py.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
27 stars 10 forks source link

assert functions not being recognized in calls #306

Closed dgarijo closed 3 years ago

dgarijo commented 3 years ago

In pyLODE I have found tests such as: assert "balance between £1,000 and £1,000,000 GBP" in open(output_html_file).read() open() and readme() are recognized, but assert is not in calls. I need to have assert recognized in order to properly detect whether the method is a test or not.