Mercurial > cpython-lru_cache-weakref
annotate Lib/test/test_distutils.py @ 58925:eecf1bef052d 2.6
Merged revisions 78207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line
#7930: fix stripid
........
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Tue, 16 Feb 2010 23:29:44 +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() |
