Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: retry immediately on a failure inside executemany. #1010nedbat/another-1010 | Ned Batchelder | 2021-04-06 | 1 | -1/+7 |
| | |||||
* | refactor: nice_file can be used as a function | Ned Batchelder | 2021-03-22 | 3 | -18/+19 |
| | |||||
* | refactor: make_file can be used as a function | Ned Batchelder | 2021-03-22 | 2 | -39/+46 |
| | |||||
* | refactor: simplify temp dir cd code | Ned Batchelder | 2021-03-22 | 1 | -15/+10 |
| | |||||
* | docs: update the help in the docs | Ned Batchelder | 2021-03-21 | 1 | -2/+2 |
| | |||||
* | docs: update a pytest url to their new structure | Ned Batchelder | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | style: remove commented-out sphinx extension we don't need | Ned Batchelder | 2021-03-19 | 1 | -1/+0 |
| | |||||
* | fix: remove debugging code I checked in by accident | Ned Batchelder | 2021-03-19 | 1 | -3/+0 |
| | |||||
* | style: correct two recent lint faux pas | Ned Batchelder | 2021-03-18 | 3 | -12/+15 |
| | |||||
* | docs: clarify the --source values | Ned Batchelder | 2021-03-18 | 2 | -3/+5 |
| | | | | | | On the Test & Code podcast (https://testandcode.com/148) Brian Okken explained why the old wording was confusing. I hope this makes it clearer. | ||||
* | refactor: remove unused encoding parameter | Ned Batchelder | 2021-03-14 | 1 | -2/+2 |
| | |||||
* | docs: note what pep626 is | Ned Batchelder | 2021-03-14 | 1 | -0/+2 |
| | |||||
* | tool: more information about the location of ast nodes when debugging | Ned Batchelder | 2021-03-13 | 1 | -1/+6 |
| | |||||
* | refactor: we no longer use unittest_mixins | Ned Batchelder | 2021-03-11 | 1 | -4/+0 |
| | |||||
* | refactor: correct a file name: test_mixins.py | Ned Batchelder | 2021-03-11 | 1 | -0/+0 |
| | |||||
* | refactor: pull module cleaning into here | Ned Batchelder | 2021-03-11 | 5 | -66/+86 |
| | | | | We don't need unittest_mixins' module cleaner anymore. | ||||
* | refactor: remove unused test class setting | Ned Batchelder | 2021-03-11 | 5 | -18/+0 |
| | | | | | | | | | unittest_mixins would check that files got created if a test made a temporary directory, so that we could trim down making temp dirs needlessly. But we don't use unittest_mixins any more, so this setting does nothing. Remove it. | ||||
* | refactor: our own change_dir context manager | Ned Batchelder | 2021-03-11 | 4 | -4/+20 |
| | | | | We don't need to use the one from unittest_mixins. | ||||
* | test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcase | Ned Batchelder | 2021-03-11 | 5 | -64/+12 |
| | | | | | | The auto-decorating metaclass was interfering with parameterized methods on Python 2.7. But we don't need it anymore anyway, since pytest will let us hook to deal with the exception in a simpler way. | ||||
* | test: add tests of make_file | Ned Batchelder | 2021-03-11 | 1 | -0/+56 |
| | | | | These are copied from unittest_mixins, and adapted to pytest. | ||||
* | refactor: move tests into classes | Ned Batchelder | 2021-03-11 | 1 | -54/+63 |
| | | | | Now that we don't inherit from TestCase, pytest can parametrize methods. | ||||
* | refactor: no need for our own xfail wrapper | Ned Batchelder | 2021-03-11 | 2 | -9/+3 |
| | |||||
* | test: skip a test on pypy | Ned Batchelder | 2021-03-11 | 1 | -5/+4 |
| | | | | | | I thought I knew when this passed and when it failed. Now that our tests are not TestCase's, pytest is enforcing the xfails. This passes locally on Mac, but fails in CI on Mac. So skip it. | ||||
* | test: show more information for not-passed tests | Ned Batchelder | 2021-03-11 | 3 | -4/+4 |
| | |||||
* | test: Use 3.10 alpha.6 | Ned Batchelder | 2021-03-11 | 3 | -3/+3 |
| | |||||
* | refactor: use pytest.skip instead of unittest's | Ned Batchelder | 2021-03-11 | 2 | -7/+12 |
| | |||||
* | test: include the category of pylint messages in the output | Ned Batchelder | 2021-03-11 | 1 | -1/+1 |
| | |||||
* | test: reduce use of unittest | Ned Batchelder | 2021-03-11 | 11 | -52/+166 |
| | |||||
* | test: have pytest collect test classes uniformly | Ned Batchelder | 2021-03-11 | 7 | -17/+9 |
| | |||||
* | refactor: no need for specialized assert_starts_with method | Ned Batchelder | 2021-03-06 | 4 | -18/+2 |
| | |||||
* | refactor: replace unittest_mixins.EnvironmentAwareMixin with a pytest adapter | Ned Batchelder | 2021-03-04 | 2 | -2/+20 |
| | |||||
* | build: excluding .github from ignore makes rg search it | Ned Batchelder | 2021-03-03 | 2 | -2/+2 |
| | |||||
* | Removed python_requires="<4" | Nicholas Nadeau, Ph.D., P.Eng | 2021-03-03 | 1 | -1/+1 |
| | | | Python 4 doesn't exist, this requirement is redundant | ||||
* | feat: percent_covered_display in the JSON reportnedbat/tweak-metacov | Ned Batchelder | 2021-03-02 | 4 | -6/+19 |
| | |||||
* | test: correct two pragmas | Ned Batchelder | 2021-03-02 | 1 | -1/+3 |
| | |||||
* | test: run the coverage action on branches named metacov | Ned Batchelder | 2021-03-02 | 1 | -0/+1 |
| | |||||
* | build: clean up pip files | Ned Batchelder | 2021-03-01 | 11 | -13/+14 |
| | | | | | auditwheel only installs on Python 3. So only install it where we need it, and clean up other .pip files along the way. | ||||
* | Merge branch 'nedbat/310-kits' | Ned Batchelder | 2021-03-01 | 3 | -5/+62 |
|\ | |||||
| * | build: build 3.10 wheels | Ned Batchelder | 2021-03-01 | 3 | -5/+62 |
| | | |||||
* | | refactor: remove unused code paths | Ned Batchelder | 2021-02-28 | 1 | -18/+20 |
| | | |||||
* | | build: version bump | Ned Batchelder | 2021-02-28 | 2 | -1/+7 |
|/ | |||||
* | docs: use sphinxcontrib for the rst buildercoverage-5.55.5 | Ned Batchelder | 2021-02-28 | 2 | -5/+3 |
| | |||||
* | build: a better kit-building link | Ned Batchelder | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | build: version 5.5 prep | Ned Batchelder | 2021-02-28 | 4 | -7/+9 |
| | |||||
* | doc: latest sample HTML report | Ned Batchelder | 2021-02-28 | 13 | -34/+61 |
| | |||||
* | fix: don't report branches to missing lines. #1065 | Ned Batchelder | 2021-02-28 | 4 | -7/+15 |
| | | | | | Fixes: #1065 Fixes: #955 | ||||
* | test: fix a few metacov exclusions | Ned Batchelder | 2021-02-28 | 2 | -2/+2 |
| | |||||
* | docs: correct the GitHub action badges | Ned Batchelder | 2021-02-28 | 1 | -4/+7 |
| | |||||
* | fix: improve an error message. #803 | Ned Batchelder | 2021-02-28 | 3 | -4/+10 |
| | | | | Fixes #803. | ||||
* | build: coverage ci should fail fast | Ned Batchelder | 2021-02-28 | 1 | -1/+2 |
| | | | | | The whole point of the coverage workflow is to combine the results at the end. If one job fails, stop everything. |