"include" should take precedence over "is stdlib"

Issue #138 resolved
Ned Batchelder repo owner created an issue

Dave McLain reported this in irc:

If he explicitly specifies a source file with include= in the coverage constructor, and that file is in the python lib installation directory, then it isn't covered, because the "is stdlib" check kicks in before the "is included" check.

If the user specifies a file to measure, it should be measured, no matter what.

Comments (2)

  1. Log in to comment