Actually run the test.

This commit is contained in:
Georg Brandl 2008-02-05 19:07:10 +00:00
parent c2879c70e4
commit d86c7e5d93
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ class TestWave(unittest.TestCase):
self.assertEqual(nframes, self.f.getnframes())
self.assertEqual(self.f.readframes(nframes), output)
def main():
def test_main():
run_unittest(TestWave)
if __name__ == '__main__':
main()
test_main()