summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_distutils.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-92584: Remove the distutils package (#99061)Victor Stinner2022-11-031-30/+0
| | | | | | | | | | | | Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils
* gh-82616: Add process_group support to subprocess.Popen (#23930)Gregory P. Smith2022-05-051-0/+2
| | | | | | | | One more thing that can help prevent people from using `preexec_fn`. Also adds conditional skips to two tests exposing ASAN flakiness on the Ubuntu 20.04 Address Sanitizer Github CI system. When that build is run on more modern systems the "problem" does not show up. It seems ASAN implementation related. Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-46425: Fix direct invocation of multiple test modules (GH-30666)Nikita Sobolev2022-01-181-1/+1
|
* bpo-45229: Remove test_main in many tests (GH-28405)Serhiy Storchaka2021-09-191-7/+5
| | | | | | | | | Instead of explicitly enumerate test classes for run_unittest() use the unittest ability to discover tests. This also makes these tests discoverable and runnable with unittest. load_tests() can be used for dynamic generating tests and adding doctests. setUpModule(), tearDownModule() and addModuleCleanup() can be used for running code before and after all module tests.
* bpo-43955: Handle the case where the distutils warning has already been ↵Steve Dower2021-04-281-1/+1
| | | | triggered (GH-25675)
* bpo-41282: Fix distutils.utils.byte_compile() DeprecationWarning (GH-25406)Victor Stinner2021-04-161-4/+10
| | | | | * byte_compile() of distutils.utils no longer logs a DeprecationWarning * test_distutils no longer logs a DeprecationWarning
* Fix so that test.test_distutils can be executed by unittest and not just ↵Toshio Kuratomi2020-01-271-0/+6
| | | | regrtest (GH-13480)
* Merged revisions 75860 via svnmerge fromAntoine Pitrou2009-10-271-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75860 | antoine.pitrou | 2009-10-27 21:20:41 +0100 (mar., 27 oct. 2009) | 3 lines Try to fix transient refleaks in test_distutils. ........
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* One unit test for distutils is not much, but is more than we had yesterday.Fred Drake2004-06-151-0/+17
We need to write more; hopefully the barrier is a little lower now.