Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision adbf178e49113b2de0042e86a1228560475a65c5 authored by Chris Withers on 01 May 2019, 22:04:04 UTC, committed by GitHub on 01 May 2019, 22:04:04 UTC
This was achieved by: * moving many pass statements in tests onto their own lines, so they pass line coverage and can match an easy ignore pattern if branch coverage is added later. * removing code that cannot be reached. * removing long-disabled tests. * removing unused code. * adding tests for uncovered code It turned out that removing `if __name__ == '__main__'` blocks that run unittest.main() at the bottom of test files was surprisingly contentious, so they remain and can be filtered out with an appropriate .coveragerc.
1 parent b7378d7
Tip revision: adbf178e49113b2de0042e86a1228560475a65c5 authored by Chris Withers on 01 May 2019, 22:04:04 UTC
Mock 100% coverage (GH-13045)
Mock 100% coverage (GH-13045)
Tip revision: adbf178
File | Mode | Size |
---|---|---|
.azure-pipelines | ||
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
m4 | ||
.gitattributes | -rw-r--r-- | 1.8 KB |
.gitignore | -rw-r--r-- | 1.5 KB |
.travis.yml | -rw-r--r-- | 7.9 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 609 bytes |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 64.3 KB |
README.rst | -rw-r--r-- | 9.8 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.1 KB |
config.sub | -rwxr-xr-x | 35.4 KB |
configure | -rwxr-xr-x | 491.1 KB |
configure.ac | -rw-r--r-- | 162.1 KB |
install-sh | -rwxr-xr-x | 15.0 KB |
pyconfig.h.in | -rw-r--r-- | 43.4 KB |
setup.py | -rw-r--r-- | 99.4 KB |
Computing file changes ...