mirror of
https://github.com/python/cpython.git
synced 2025-11-02 22:51:25 +00:00
One unit test for distutils is not much, but is more than we had yesterday.
We need to write more; hopefully the barrier is a little lower now.
This commit is contained in:
parent
a050171ee9
commit
bb7c14461d
3 changed files with 98 additions and 0 deletions
17
Lib/test/test_distutils.py
Normal file
17
Lib/test/test_distutils.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"""Tests for distutils.
|
||||
|
||||
The tests for distutils are defined in the distutils.tests package;
|
||||
the test_suite() function there returns a test suite that's ready to
|
||||
be run.
|
||||
"""
|
||||
|
||||
import distutils.tests
|
||||
import test.test_support
|
||||
|
||||
|
||||
def test_main():
|
||||
test.test_support.run_unittest(distutils.tests.test_suite())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue