summaryrefslogtreecommitdiff
path: root/tests/test_arcs.py
Commit message (Collapse)AuthorAgeFilesLines
* mypy: use __future__ uniformly in checked filesNed Batchelder2023-01-051-0/+2
|
* mypy: test_annotate.py test_arcs.py test_collector.pyNed Batchelder2023-01-021-94/+94
|
* test: a sorted_lines helperNed Batchelder2022-12-311-1/+2
|
* refactor: removed mentions of Jython and IronPythonNed Batchelder2022-12-301-5/+1
|
* test: seven tests that fail because of pypy 3882Ned Batchelder2022-12-301-1/+17
| | | | https://foss.heptapod.net/pypy/pypy/-/issues/3882
* fix: adjust some PyPy behaviors. #1515Ned Batchelder2022-12-271-6/+2
|
* test: remove obsolete skipsNed Batchelder2022-12-241-21/+0
|
* fix: properly measure strange use of wildcard alternatives in match/case. #1421Ned Batchelder2022-11-031-0/+13
|
* fix: 3.11.0b4 has 0-numbered lines. Fixes #1419Ned Batchelder2022-07-121-0/+2
| | | | | CPython added these lines in https://github.com/python/cpython/commit/1bfe83a114da3939c00746fc44dc5da7f56f525f
* test: xfail decorator tests that fail on PyPy 3.8 (7.3.10alpha)Ned Batchelder2022-05-211-1/+6
| | | | https://foss.heptapod.net/pypy/pypy/-/issues/3749
* test: remove version-specfic skips we no longer needNed Batchelder2022-05-131-21/+0
|
* test: CPython #92236 is fixed for 3.11.0b2Ned Batchelder2022-05-131-1/+2
|
* test: skip tests that fail until CPython #92236 is fixedNed Batchelder2022-05-121-0/+20
| | | | https://github.com/python/cpython/issues/92236
* style: parens should indent the same as their opening lineNed Batchelder2022-05-011-16/+16
|
* test: no need to protect against a 3.11.0a4 bug anymoreNed Batchelder2022-03-031-8/+0
|
* fix: pypy3.9 traces decorators like CPython 3.8Ned Batchelder2022-02-201-15/+0
|
* test: dropping old Python versions mean we no longer need ↵Ned Batchelder2022-02-061-8/+5
| | | | optimize_if_not_debug=0
* test: make if_not_debug optimization testing a little more rationalNed Batchelder2022-02-061-5/+3
|
* test: adapt to PyPy 3.9 v7.8.8Ned Batchelder2022-02-061-1/+17
|
* test: skip tests on py 3.11.0a4 that are failing in metacovNed Batchelder2022-01-291-2/+2
| | | | | This specific set of circumstances was triggering https://bugs.python.org/issue44088
* test: bpo46389 improvements on tip of cpythonNed Batchelder2022-01-221-2/+2
|
* test: i can't figure out what versions of 3.9 this passes or failsNed Batchelder2022-01-191-1/+1
|
* refactor(test): use xfail for tests that fail on specific versions of PythonNed Batchelder2022-01-191-16/+16
|
* fix: proper tracing of call/return for Python 3.11.0a4Ned Batchelder2022-01-151-2/+0
| | | | | 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.
* test: skip tests suffering from bpo 46389 (3.11)Ned Batchelder2022-01-151-0/+8
|
* refactor(test): make finally_jumps_back tweaks easier to seeNed Batchelder2022-01-151-39/+22
|
* fix: 3.11 now traces decorator lines as the decorators executeNed Batchelder2022-01-151-8/+22
| | | | See: https://bugs.python.org/issue46234
* 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-101-3/+3
|
* refactor(test): make behavior tweaks easier to seeNed Batchelder2022-01-101-30/+23
|
* test: skip a test on 3.11 while bpo46225 is worked outNed Batchelder2022-01-031-0/+5
|
* test(fix): skip tests that trip a specific Mac 3.9 eventlet bugNed Batchelder2021-11-241-0/+10
|
* test(refactor): if two skips apply, put the more significant reason closer ↵Ned Batchelder2021-11-211-1/+1
| | | | to the def
* fix(test): make .pth files once per sessionNed Batchelder2021-11-211-1/+4
| | | | | | | | | | | The old way, we made and deleted .pth file around each test. This caused problems because pth files are written to a common location shared by all test workers, so tests would fail because pth files were being deleted as other workers were trying to use them. Now we make the pth file once per session. There's still a chance that a worker will be using a pth file just as another worker is ending and removing it.
* style: convert more string formatting to f-stringsNed Batchelder2021-11-111-2/+2
|
* fix: CPython 3.11 support. #1241Ned Batchelder2021-11-101-0/+2
| | | | | | | | | | | The fix for CTracer is egregious and will need to be updated when there's a supported way to do it. The fullcoverage skip is noted in https://github.com/nedbat/coveragepy/issues/1278 The raise_through_with skip is noted in https://github.com/nedbat/coveragepy/issues/1270
* fix: changes for PyPy3.8Ned Batchelder2021-10-251-0/+2
| | | | | | | | | | - Update tox.ini to let us run against PyPy3.8 - Some 3.8 behavior is (apparently) only on CPython - PyPy3.8 doesn't get along with virtualenv yet (https://github.com/pypa/virtualenv/issues/2182), so use venv instead for our virtualenv tests.
* test: parametrize test_pathologically_long_code_objectNed Batchelder2021-10-141-21/+18
| | | | | While experimenting with packing branch ends into one int, this test showed a mistake I had made. Turns out it wasn't an obsolete test after all.
* test: don't use subprocesses where we don't have toNed Batchelder2021-10-131-3/+4
| | | | | | When running tests with `-n 0`, this shaves 4 seconds off the run time. When running the complete test suite with xdist, it takes 2 seconds longer!?
* style: prefer explicit string concatenationNed Batchelder2021-10-101-23/+21
|
* test: another test suggested by Mark ShannonNed Batchelder2021-08-311-0/+15
|
* fix: missing exceptions through with statements in 3.10 aren't considered ↵Ned Batchelder2021-08-141-0/+56
| | | | missing branches. #1205
* refactor: move a test helper to CoverageTestNed Batchelder2021-08-141-6/+2
|
* test: add a test for #1205 bpo-44840Ned Batchelder2021-08-091-1/+27
|
* fix: match/case will trace the default case lineNed Batchelder2021-07-271-1/+1
|
* test: add a test for bpo 44622, #1176Ned Batchelder2021-07-191-0/+24
|
* test: add tests of #1175Ned Batchelder2021-07-191-0/+34
| | | | | | Python versions before 3.10 didn't trace trailing "pass" statements correctly. I don't think that will change at this point, so we'll skip this test for those versions.
* test: a better way to skip a test for two reasonsNed Batchelder2021-07-131-5/+2
|
* test: skip a test that won't run on 3.6Ned Batchelder2021-07-131-0/+1
|
* test: add a test for bug #1158Ned Batchelder2021-07-131-0/+25
|