Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mypy: install pytest alongside mypy to get its types | Ned Batchelder | 2023-01-10 | 1 | -4/+4 |
| | |||||
* | style: use good style for annotated defaults parameters | Ned Batchelder | 2023-01-05 | 1 | -3/+3 |
| | |||||
* | mypy: use __future__ uniformly in checked files | Ned Batchelder | 2023-01-05 | 1 | -0/+2 |
| | |||||
* | mypy: test helpers: conftest.py mixins.py osinfo.py | Ned Batchelder | 2023-01-04 | 1 | -9/+12 |
| | |||||
* | mypy: test_concurrency.py, test_python.py | Ned Batchelder | 2023-01-03 | 1 | -9/+16 |
| | |||||
* | refactor(test): use tmp_path instead of tmpdir | Ned Batchelder | 2023-01-03 | 1 | -3/+3 |
| | |||||
* | mypy: add data.py and test_api.py | Ned Batchelder | 2022-12-31 | 1 | -3/+5 |
| | |||||
* | style: fix spelling | Ned Batchelder | 2022-11-28 | 1 | -1/+1 |
| | | | | un-executed, white space, time stamp. | ||||
* | test: remove file-removal that isn't needed anymore | Ned Batchelder | 2022-05-20 | 1 | -3/+2 |
| | |||||
* | test: properly reset a few globals between every test | Ned Batchelder | 2021-11-17 | 1 | -3/+2 |
| | |||||
* | refactor(test): use the expected name for initializing tests. | Ned Batchelder | 2021-11-07 | 1 | -5/+2 |
| | | | | | | | | | Originally I used setup_test because something went wrong when I used setUp. I wrote https://github.com/pytest-dev/pytest/issues/8424 about it. There they say to use `-p no:nose` to disable nose interpretation. But now I simply went back to setUp, and all seems well? Not sure what changed, but using the expected name is better. | ||||
* | refactor(test): os_sep and remove_tree helpers | Ned Batchelder | 2021-10-24 | 1 | -5/+2 |
| | |||||
* | test: we don't need two sys.path restorers | Ned Batchelder | 2021-10-14 | 1 | -11/+2 |
| | |||||
* | fix: source modules need to be re-imported. #1232 | Ned Batchelder | 2021-10-11 | 1 | -13/+4 |
| | |||||
* | test: update to latest pytest | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -2/+2 |
| | |||||
* | refactor: move the remaining backward.py code, no more backward.py | Ned Batchelder | 2021-05-01 | 1 | -4/+2 |
| | |||||
* | test: don't complain if an environment variable we don't want doesn't exist | Ned Batchelder | 2021-04-11 | 1 | -1/+1 |
| | |||||
* | refactor: make_file can be used as a function | Ned Batchelder | 2021-03-22 | 1 | -39/+4 |
| | |||||
* | refactor: simplify temp dir cd code | Ned Batchelder | 2021-03-22 | 1 | -15/+10 |
| | |||||
* | refactor: pull module cleaning into here | Ned Batchelder | 2021-03-11 | 1 | -20/+56 |
| | | | | We don't need unittest_mixins' module cleaner anymore. | ||||
* | refactor: remove unused test class setting | Ned Batchelder | 2021-03-11 | 1 | -5/+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. | ||||
* | test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcase | Ned Batchelder | 2021-03-11 | 1 | -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's | Ned Batchelder | 2021-03-11 | 1 | -4/+3 |
| | |||||
* | test: reduce use of unittest | Ned Batchelder | 2021-03-11 | 1 | -9/+122 |
| | |||||
* | refactor: replace unittest_mixins.EnvironmentAwareMixin with a pytest adapter | Ned Batchelder | 2021-03-04 | 1 | -0/+18 |
| | |||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 1 | -1/+1 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | refactor: remove reliance on unittest_mixins.StdStreamCapturingMixin | Ned Batchelder | 2021-02-02 | 1 | -0/+31 |
| | | | | 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 | -0/+39 |