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:
Barry Warsaw 1996-12-23 23:39:42 +00:00
parent aeb207c6b6
commit 5e056bbb76
8 changed files with 89 additions and 27 deletions

View file

@ -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: