Lines Matching refs:py
4 """Core control stuff for coverage.py."""
46 """Programmatic access to coverage.py.
112 in the measured code. Without this, coverage.py will get incorrect
308 # To avoid tracing the coverage.py code itself, we skip anything
313 # part of coverage.py, and it uses six. Exclude those directories
370 if filename.endswith(".py"):
371 # .py files are themselves source files.
378 # Found a .py file, use that.
385 # Didn't find source, but it's probably the .py file we want.
388 elif filename.endswith("$py.class"):
390 return filename[:-9] + ".py"
486 if filename.endswith("$py.class"):
487 filename = filename[:-9] + ".py"
551 # stdlib and coverage.py directories.
569 # We exclude the coverage.py code itself, since a little of it
572 return "is part of coverage.py"
613 sys.stderr.write("Coverage.py warning: %s\n" % msg)
1100 if k.startswith(("COV", "PY"))
1160 #. Create or append to sitecustomize.py to add these lines::
1179 # flag (an attribute on this function) to indicate that coverage.py has
1187 # started coverage.py in this process. Nothing to do.