Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcase | Ned Batchelder | 2021-03-11 | 1 | -5/+1 |
| | | | | | | 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. | ||||
* | refactor: no need for our own xfail wrapper | Ned Batchelder | 2021-03-11 | 1 | -5/+0 |
| | |||||
* | test: reduce use of unittest | Ned Batchelder | 2021-03-11 | 1 | -14/+16 |
| | |||||
* | refactor: no need for specialized assert_starts_with method | Ned Batchelder | 2021-03-06 | 1 | -5/+0 |
| | |||||
* | refactor: replace unittest_mixins.EnvironmentAwareMixin with a pytest adapter | Ned Batchelder | 2021-03-04 | 1 | -2/+2 |
| | |||||
* | test: add tests of the failure asserts from check_coverage | Ned Batchelder | 2021-02-22 | 1 | -3/+3 |
| | | | | This brings the coverage of tests/coveragetest.py to 100%. | ||||
* | refactor: slightly better coverage in coveragetest | Ned Batchelder | 2021-02-21 | 1 | -3/+3 |
| | |||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -1/+1 |
| | |||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 1 | -4/+4 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | refactor: remove reliance on unittest_mixins.StdStreamCapturingMixin | Ned Batchelder | 2021-02-02 | 1 | -2/+2 |
| | | | | This is another step toward removing unittest.TestCase as a base class. | ||||
* | refactor: move test mixins to their own file | Ned Batchelder | 2021-02-02 | 1 | -29/+3 |
| | |||||
* | test: keep multi-assert arc diffs working | Ned Batchelder | 2021-01-31 | 1 | -23/+23 |
| | | | | | We don't have a way to do multi-assert in the pytest we're running, so cobble it together ourselves. | ||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -1/+2 |
| | |||||
* | refactor: mark an internal method | Ned Batchelder | 2021-01-31 | 1 | -4/+4 |
| | |||||
* | test: adapt to pytest assertion messages | Ned Batchelder | 2021-01-31 | 1 | -4/+4 |
| | | | | | | | | Bare "assert" statements don't produce the same assertion message as self.assertEqual did: they don't include the two values compared. For some of our own asserts, add back the detailed message. For some checks of asserts, it's fine that the values are missing because the longer messsage includes the information. | ||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -12/+12 |
| | | | | One step of moving to pure pytest tests. | ||||
* | PEP 626: constant tests are kept as no-ops | Ned Batchelder | 2021-01-10 | 1 | -1/+1 |
| | | | | | The conditionals are now getting unwieldy, perhaps we can simplify them in the future? | ||||
* | In 3.10, modules always have firstlineno==1 | Ned Batchelder | 2021-01-10 | 1 | -0/+5 |
| | |||||
* | Explain a mystery | Ned Batchelder | 2020-09-02 | 1 | -0/+4 |
| | |||||
* | Better xfail mechanism | Ned Batchelder | 2020-01-18 | 1 | -4/+5 |
| | |||||
* | Move test helpers to tests.helpers | Ned Batchelder | 2019-12-31 | 1 | -1/+2 |
| | |||||
* | Easier to decipher arcz output | Ned Batchelder | 2019-12-31 | 1 | -3/+3 |
| | |||||
* | Warnings can be marked to only display once. | Ned Batchelder | 2019-12-27 | 1 | -1/+2 |
| | |||||
* | bpo 39114 broke 3.9, but maybe it's their bug | Ned Batchelder | 2019-12-21 | 1 | -0/+5 |
| | |||||
* | I'm not sure why I was deleting these meta env vars | Ned Batchelder | 2019-12-01 | 1 | -7/+0 |
| | | | | Don't we want to measure the coverage of subprocesses we start in tests? | ||||
* | Coverage.py is only capitalized when it starts a sentence | Ned Batchelder | 2019-11-10 | 1 | -3/+3 |
| | |||||
* | '[run] note' is no longer supported. | Ned Batchelder | 2019-11-09 | 1 | -5/+0 |
| | |||||
* | Remove the JSON data code | Ned Batchelder | 2019-07-10 | 1 | -3/+2 |
| | |||||
* | Move arcz_to_arcs to misc so we can use it elsewhere | Ned Batchelder | 2019-06-19 | 1 | -42/+4 |
| | |||||
* | Use pylint 2.x | Ned Batchelder | 2019-05-13 | 1 | -4/+4 |
| | |||||
* | Prefer assertRaisesRegex to assertRaises | Ned Batchelder | 2019-04-21 | 1 | -1/+1 |
| | |||||
* | Plugin support for dynamic context (#783) | Justas Sadzevičius | 2019-04-20 | 1 | -0/+10 |
| | | | | | | | | | | | | * Introduce a new plugin type: dynamic context labels. * Test dynamic context plugins * Helper method to get full paths to measured files * Get correct filenames on all OS * Improve wording | ||||
* | Fix an incorrectly named method | Ned Batchelder | 2018-12-26 | 1 | -4/+4 |
| | |||||
* | There are no kwargs to CoverageScript any more | Ned Batchelder | 2018-11-26 | 1 | -4/+2 |
| | |||||
* | Keep test directories shorter | Ned Batchelder | 2018-11-12 | 1 | -1/+3 |
| | |||||
* | Comparison should always be expected,actual | Ned Batchelder | 2018-11-11 | 1 | -6/+6 |
| | |||||
* | Keep test tempdirs distinct, for saving and comparing test output | Ned Batchelder | 2018-11-11 | 1 | -1/+1 |
| | |||||
* | Debug-time environment variables can be set with set_env.py | Ned Batchelder | 2018-11-03 | 1 | -0/+1 |
| | |||||
* | Everything should get a docstring | Ned Batchelder | 2018-11-03 | 1 | -0/+1 |
| | |||||
* | We weren't using this argument | Ned Batchelder | 2018-10-18 | 1 | -2/+2 |
| | |||||
* | Name decorator components to avoid docstring requirement | Ned Batchelder | 2018-09-09 | 1 | -3/+2 |
| | |||||
* | Tests of the schema checking | Ned Batchelder | 2018-08-26 | 1 | -3/+3 |
| | |||||
* | Enable keeping test-created temp dirs | Ned Batchelder | 2018-08-24 | 1 | -0/+6 |
| | |||||
* | PyPy needs to close cursors from pragmas | Ned Batchelder | 2018-08-24 | 1 | -1/+0 |
| | |||||
* | Skip some tests for SQL for now | Ned Batchelder | 2018-08-24 | 1 | -0/+6 |
| | |||||
* | Remove an unused debugging thing | Ned Batchelder | 2018-08-14 | 1 | -7/+0 |
| | |||||
* | assert_file_count | Ned Batchelder | 2018-08-07 | 1 | -0/+8 |
| | |||||
* | Remove a mention of Python 2.6 | Ned Batchelder | 2018-07-26 | 1 | -4/+2 |
| | |||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Use the real implementation of del_environ | Ned Batchelder | 2017-11-04 | 1 | -38/+4 |
| |