-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT, TST: remove usage of test.support (#33)
* the `test` package in CPython is intended for internal use by the CPython development team only, and is subject to API changes without prior deprecation, as noted here: https://docs.python.org/3.11/library/test.html * `test.support.run_unittest` is not available in Python `3.11.7`, but is available in some other versions of `3.11.x` and `3.12.x`; clearly depending on that is not really sane, so let's just remove the usage--this allows the full test suite to pass for me locally with `3.11.7` * I don't think there was any good reason to keep those `test_main()` style blocks anyway--perhaps you can encourage developers to use `pytest path/to/test_module.py`, which will do the same thing (most/all OSS packages would suggest that at this point I think); if you have folks who were running the tests with `python path/to/test_module.py` they'd need to swap to using `pytest` for the incantation, but maybe that's something you can live with?
- Loading branch information
1 parent
bbf60d4
commit 790cc69
Showing
7 changed files
with
0 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters