Change testdescr.py to use the test_main() approach.
This commit is contained in:
parent
2e2be3760c
commit
a56b42b1ba
|
@ -1952,7 +1952,7 @@ def coercions():
|
|||
coerce(0j, C(0))
|
||||
|
||||
|
||||
def all():
|
||||
def test_main():
|
||||
lists()
|
||||
dicts()
|
||||
dict_constructor()
|
||||
|
@ -1992,7 +1992,7 @@ def all():
|
|||
classic_comparisons()
|
||||
rich_comparisons()
|
||||
coercions()
|
||||
|
||||
all()
|
||||
|
||||
if verbose: print "All OK"
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Reference in New Issue