0

What I did is:

coverage run --source=HelloCNN1 test_hellocnn1.py
coverage run --source=HelloCNN2 test_hellocnn2.py
coverage combine
coverage report -m --skip-empty

The error output:

(base) zz@home% coverage report -m --skip-empty                  
No source for code: '/home/zz/work/cnn/tests/(builtin)'.
Aborting report output, consider using -i.

Wondering how can I "ignore (buitin)"?

2
  • Try running with -i as suggested. You can ignore files/dirs with --omit, but Im not sure if that works for this case. coverage.readthedocs.io/en/coverage-5.5/cmd.html#reporting Commented Sep 21, 2021 at 12:36
  • I'd be curious what is claiming to be "(builtin)"... I haven't seen that before. Commented Sep 22, 2021 at 14:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.