summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test: test against 3.11-dev, regularlynedbat/python-devNed Batchelder2022-01-171-0/+5
|
* docs: add an issue reference for the 3.11.0a4 supportNed Batchelder2022-01-161-1/+2
|
* build: provide hints about how to fix cog-check quality failures.Ned Batchelder2022-01-154-0/+13
|
* test: minor cleanup from start_method fixture workNed Batchelder2022-01-151-2/+1
| | | | | | We only had to use remove_files because try_multiprocessing_code used to be called twice in one test. Now that it's only called once, we don't have to clean out stale data files.
* test: slightly nicer bpo preludeNed Batchelder2022-01-151-1/+2
|
* fix: proper tracing of call/return for Python 3.11.0a4Ned Batchelder2022-01-154-19/+59
| | | | | Version 3.11.0a4 introduced RESUME, so returns and calls are different now. This change also fixes some mishandling of yield-from in previous releases.
* build: better docs about Python versions in actionsNed Batchelder2022-01-153-1/+14
|
* fix: update pytracer.py for Python 3.11Ned Batchelder2022-01-151-5/+25
|
* debug: reprs make debugging easierNed Batchelder2022-01-151-1/+3
|
* test: skip tests suffering from bpo 46389 (3.11)Ned Batchelder2022-01-152-3/+13
|
* test: virtualenv tests are still broken on 3.11.0a4 (bpo 46028)Ned Batchelder2022-01-151-1/+1
|
* test: skip test that fails due to bpo 46331Ned Batchelder2022-01-151-0/+5
|
* refactor(test): make finally_jumps_back tweaks easier to seeNed Batchelder2022-01-151-39/+22
|
* test: a debug helper to show made-file contentsNed Batchelder2022-01-151-0/+7
|
* fix: 3.11 now traces decorator lines as the decorators executeNed Batchelder2022-01-154-10/+38
| | | | See: https://bugs.python.org/issue46234
* debug: a tool for extracting test code snippetsNed Batchelder2022-01-151-0/+73
|
* docs: small tweaks to the bug report templateNed Batchelder2022-01-121-2/+2
|
* fix: don't write a .gitignore unless the directory is emptyNed Batchelder2022-01-113-3/+17
|
* refactor(test): use a fixture to choose spawn/fork multiprocessing start_methodNed Batchelder2022-01-101-39/+65
|
* style(test): full env.PYVERSION can be used for <= comparisonsNed Batchelder2022-01-101-2/+2
|
* style(test): use a consistent name format for test_bug_XXX testsNed Batchelder2022-01-103-5/+5
|
* refactor(test): make behavior tweaks easier to seeNed Batchelder2022-01-101-30/+23
|
* refactor(test): use math.isclose to check float valuesNed Batchelder2022-01-074-10/+15
|
* style: minor cleanups realized while reviewing a pull requestNed Batchelder2022-01-052-10/+10
|
* build: one more tweak-down of the help targetNed Batchelder2022-01-051-1/+1
|
* build: adjust the warning suppressions we needNed Batchelder2022-01-042-20/+1
|
* refactor: no need to special-case spec.origin == "namespace"Ned Batchelder2022-01-031-2/+1
| | | | | Namespace packages used to have this value, but that was changed in 3.7: https://bugs.python.org/issue32305
* refactor: we no longer need to protect against UnicodeError, it was only on 3.6Ned Batchelder2022-01-031-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was the failure it was protecting against on Python 3.6: ``` ___________________________ ProcessTest.test_lang_c ____________________________ [gw0] linux -- Python 3.6.15 /home/runner/work/coveragepy/coveragepy/.tox/py36/bin/python self = <tests.test_process.ProcessTest object at 0x7fe57e63b198> @pytest.mark.skipif(env.PYPY, reason="PyPy is unreliable with this test") # Jython as of 2.7.1rc3 won't compile a filename that isn't utf-8. @pytest.mark.skipif(env.JYTHON, reason="Jython can't handle this test") def test_lang_c(self): # LANG=C forces getfilesystemencoding on Linux to 'ascii', which causes # failures with non-ascii file names. We don't want to make a real file # with strange characters, though, because that gets the test runners # tangled up. This will isolate the concerns to the coverage.py code. # https://github.com/nedbat/coveragepy/issues/533 self.make_file("weird_file.py", r""" globs = {} code = "a = 1\nb = 2\n" exec(compile(code, "wut\xe9\xea\xeb\xec\x01\x02.py", 'exec'), globs) print(globs['a']) print(globs['b']) """) self.set_environ("LANG", "C") out = self.run_command("coverage run weird_file.py") > assert out == "1\n2\n" E assert 'Traceback (m...ion by zero\n' == '1\n2\n' E - 1 E - 2 E + Traceback (most recent call last): E + File "/home/runner/work/coveragepy/coveragepy/coverage/files.py", line 149, in abs_file E + path = os.path.realpath(path) E + File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/posixpath.py", line 395, in realpath E + path, ok = _joinrealpath(filename[:0], filename, {}) E + File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/posixpath.py", line 429, in _joinrealpath E + if not islink(newpath): E + File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/posixpath.py", line 171, in islink E + st = os.lstat(path) E + UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: ordinal not in range(128) ```
* build: make upgradeNed Batchelder2022-01-034-7/+7
|
* test: skip a test on 3.11 while bpo46225 is worked outNed Batchelder2022-01-031-0/+5
|
* test(build): skip virtualenv tests on 3.11.0a3 (bpo 46028)Ned Batchelder2022-01-021-0/+2
| | | | | I'm hoping this will be fixed in 3.11.0a4 by https://github.com/python/cpython/pull/30144
* build(test): PyContracts doesn't work on 3.11Ned Batchelder2022-01-022-3/+5
| | | | and I don't think it ever will.
* refactor(build): Makefile organization and helpNed Batchelder2022-01-011-22/+55
|
* refactor: remove code that was only needed for Python 3.6Ned Batchelder2021-12-313-28/+8
|
* build: drop Python 3.6 supportNed Batchelder2021-12-3114-31/+34
|
* build: a make target to cog the workflowsNed Batchelder2021-12-312-0/+7
|
* build: make upgrade on python 3.7Ned Batchelder2021-12-318-65/+128
|
* refactor: clean up mentions of coverage3 aliasNed Batchelder2021-12-312-17/+16
|
* build: use a sparse checkout for the reports repoNed Batchelder2021-12-301-10/+13
|
* build: publish metacov differentlyNed Batchelder2021-12-282-53/+60
|
* build: generate a metacov badgeNed Batchelder2021-12-282-2/+20
|
* build: no more codecovNed Batchelder2021-12-283-24/+2
|
* build: need to use pypy-3.7 instead of pypy3 on GHAnedbat/pypy37Ned Batchelder2021-12-142-3/+3
|
* docs: more description in balance_xdist_plugin.pyNed Batchelder2021-12-111-3/+19
|
* build: also build macos arm64 kits #1288Ned Batchelder2021-12-012-19/+30
|
* build: make upgradenedbat/upgrade-with-kitsNed Batchelder2021-11-309-16/+16
|
* test(feat): track test times, and balance xdist workersNed Batchelder2021-11-285-51/+190
| | | | In the end, this seems to only speed things up by about 5%
* docs: fix some styling in the changelogNed Batchelder2021-11-261-2/+2
|
* docs: fix link in the changelogNed Batchelder2021-11-261-1/+1
|
* build: bump versionNed Batchelder2021-11-262-1/+7
|