annotate Lib/test/test_distutils.py @ 78069:a8aa77458e12 3.2

Add c_size_t and c_ssize_t to the ctypes summary table.
author Antoine Pitrou <solipsis@pitrou.net>
date Thu, 12 Jul 2012 20:31:50 +0200
parents 8141ec81ad2d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32353
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
1 """Tests for distutils.
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
2
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
3 The tests for distutils are defined in the distutils.tests package;
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
4 the test_suite() function there returns a test suite that's ready to
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
5 be run.
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
6 """
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
7
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
8 import distutils.tests
47201
9c930a32cebb #2621 rename test.test_support to test.support
Benjamin Peterson <benjamin@python.org>
parents: 32353
diff changeset
9 import test.support
32353
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
10
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
11
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
12 def test_main():
47201
9c930a32cebb #2621 rename test.test_support to test.support
Benjamin Peterson <benjamin@python.org>
parents: 32353
diff changeset
13 test.support.run_unittest(distutils.tests.test_suite())
56892
8141ec81ad2d Merged revisions 75860 via svnmerge from
Antoine Pitrou <solipsis@pitrou.net>
parents: 47201
diff changeset
14 test.support.reap_children()
32353
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
15
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
16
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
17 if __name__ == "__main__":
40acb68ad224 One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
18 test_main()