summaryrefslogtreecommitdiff
path: root/tests/mixins.py
Commit message (Collapse)AuthorAgeFilesLines
* test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcaseNed Batchelder2021-03-111-28/+0
| | | | | | 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: use pytest.skip instead of unittest'sNed Batchelder2021-03-111-4/+3
|
* test: reduce use of unittestNed Batchelder2021-03-111-9/+122
|
* refactor: replace unittest_mixins.EnvironmentAwareMixin with a pytest adapterNed Batchelder2021-03-041-0/+18
|
* refactor: remove unittest.assertCountEqualNed Batchelder2021-02-061-1/+1
| | | | Another step toward removing unittest.TestCase.
* refactor: remove reliance on unittest_mixins.StdStreamCapturingMixinNed Batchelder2021-02-021-0/+31
| | | | This is another step toward removing unittest.TestCase as a base class.
* refactor: move test mixins to their own fileNed Batchelder2021-02-021-0/+39