Skip to content

[3.11] gh-111309: Use unittest to collect and run distutils tests#111311

Merged
serhiy-storchaka merged 1 commit into
python:3.11from
serhiy-storchaka:test_distutils
Oct 25, 2023
Merged

[3.11] gh-111309: Use unittest to collect and run distutils tests#111311
serhiy-storchaka merged 1 commit into
python:3.11from
serhiy-storchaka:test_distutils

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Oct 25, 2023

Copy link
Copy Markdown
Member
  • use unittest.main() instead of run_unittest(test_suite()) to run tests from modules via the CLI
  • add explicit load_tests() to load doctests
  • use test.support.load_package_tests() to load tests in submodules of distutils.tests
  • removes no longer needed test_suite() functions

* use unittest.main() instead of run_unittest(test_suite()) to run tests from
  modules via the CLI
* add explicit load_tests() to load doctests
* use test.support.load_package_tests() to load tests in submodules of
  distutils.tests
* removes no longer needed test_suite() functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant