mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
test_rotor.py: New test of the rotor module.
test_*: converted to the new test harness. GvR note! test_signal.py works interatively (i.e. when verbose=1) but does not work inside the test harness. It must be a timing issue, but I haven't figured it out yet.
This commit is contained in:
parent
aeb207c6b6
commit
5e056bbb76
8 changed files with 89 additions and 27 deletions
|
|
@ -2,6 +2,7 @@ import operator
|
|||
import sys
|
||||
|
||||
def test(name, input, output, *args):
|
||||
print 'testing:', name
|
||||
f = getattr(operator, name)
|
||||
params = (input,) + args
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue