| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
un-executed, white space, time stamp.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- default COVERAGE_METAFILE=.metacov for convenience
- don't make json and xml reports, if we need them we'll do it
explicitly.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Someone thought we didn't use semantic versioning because we said "6.4" instead
of "6.4.0". Don't trim .0.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For context, I've been testing whether a range of popular libraries are going to work on Windows ARM64. (This requires compiling on a regular x64 machine and then copying the wheel to an ARM64 one for testing.)
The good news is, coverage seems to be just fine without any changes. However, because of a few assumptions in the test suite about always testing an in-place build, I had to make some tweaks to be able to run tests. My proposed tweaks should be fine for current uses, but they also allow the following:
* support `SETUPTOOLS_EXT_SUFFIX` when building to override the pyd tag on Windows (used with `setup.py build_ext -L <path>` to point at [pythonarm64](https://www.nuget.org/packages/pythonarm64/) import libraries to do the cross-compile)
* allow `COVERAGE_INSTALL_ARGS` to override how the tests install coverage into a venv (allows to point at a wheel rather than rebuilding from the sources)
* allow `python igor.py remove_extension --from-install` to delete the extension module from `site-packages` rather than only the source tree
* other changes to allow removing the `coverage` directory from the source tree before tests so that the installed copy will be used instead.
I've tested these on my own Windows ARM64 machine, though unfortunately there aren't any available on CI services yet. If you wanted to start releasing (preview) wheels for win-arm64 you can, but there's no support (yet) in `cibuildwheel` or `build` to do it (because those tools don't really have a concept of cross-compilation for Windows at all... yet ;-) ).
For the linter
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Yes, this is completely unimportant. Don't ask me why I bothered, I'm
not really sure.
|
|
|
|
|
|
|
|
|
| |
I was using pytest.__file__ as a directory, but in 5.3.2, pytest changed
to be a package, so that wasn't the site-packages directory anymore, and
our .pth file was written someplace useless.
Now we don't rely on the structure of pytest (why did we ever?), and it
works again.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
python3 -m pip install codespell
codespell --ignore-words-list="ba,cant,datas,hart,linke,ned,nin,overthere,upto" --skip="*.js"
* Fix typos discovered by codespell
* datas
* intgers ==> integers
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now when a goldtest has a failure, the actual mismatched output will be written
to the tests/actual directory.
Along the way, I removed some obsolete settings which were only used by unittest
and unittest_mixins, which we no longer use:
- COVERAGE_KEEP_TMP
- COVERAGE_ENV_ID
- $TMPDIR/coverage_test
|
| |
|
|
|
|
|
|
|
| |
Before this commit, the GetZipBytesTest.test_get_encoded_zip_files test
was flaky on Python 3.10.0a7. Since I had just added new files to the
common zip file, I tried splitting the newly added stuff into its own
file, and that seemed to fix the problem.
|
|
|
|
|
|
| |
People don't use .egg much anymore, distutils is showing deprecation
warnings, and coverage.py only deals with them the same way it deals
with .zip files, so let's just rely on a .zip test to cover that.
|
| |
|
| |
|
|
|
|
| |
Also, this correctly combines results from different runners.
|
|
|
|
|
|
| |
I guess the original line was wrong, but it would have been nice for
unittest2pytest to fix it for me:
https://github.com/pytest-dev/unittest2pytest/issues/52
|
|
|
|
| |
It chooses the appropriate tracer based on the implementation.
|
| |
|
|
|
|
|
|
|
|
|
| |
We no longer:
- Use Travis
- Use AppVeyor
- Build manylinux wheels locally
- Build other wheels locally
|
| |
|
| |
|
| |
|
|
|
|
| |
Don't we want to measure the coverage of subprocesses we start in tests?
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
"DeprecationWarning: Use inspect.signature() instead of inspect.getfullargspec()"
This started appearing with Python 3.8a4.
|
| |
|
| |
|
| |
|