Mercurial > cpython-lru_cache-weakref
annotate Lib/test/test_distutils.py @ 54294:dba767bc3155 legacy-trunk
remove mention of old ctypes version
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 23 May 2009 20:59:09 +0000 |
| parents | 40acb68ad224 |
| children | 9c930a32cebb 2dc0b7131c72 0df47b1b30b8 |
| 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 |
|
40acb68ad224
One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
9 import test.test_support |
|
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(): |
|
40acb68ad224
One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
13 test.test_support.run_unittest(distutils.tests.test_suite()) |
|
40acb68ad224
One unit test for distutils is not much, but is more than we had yesterday.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
14 |
|
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 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
|
17 test_main() |
