No module names __main__

Issue #288 invalid
Former user created an issue

I am using coverage.exe to find coverage for importable module : package.module like this:

coverage.exe run -m roxapi.domain

I get error : No module named main

Comments (3)

  1. Ned Batchelder repo owner

    If "python -m roxapi.domain" works for you, then can you share a test case that reproduces the problem, with specific instructions about how to do it?

  2. sonal_shirwant

    package.module does not execute. It is importable python module. This defect is invalid then.

  3. Log in to comment