coveragepy
coveragepy copied to clipboard
coverage report raise NoDataError("No data to report.")
Hi, The environment is Python 3.8.5 coverage py, version 6.4.4 x86_ 64 using the coverage API, report no data to report However, using the command line, print the report normally

Can you help me?
You say you are using the API, which means you have written some code to use the API. You should share that code, and the command line you used that worked. Ideally, you'd have a link to the complete project so that we can find other details we need. Lastly, it's easier to help if you copy text and paste it as text rather than pasting screenshots.