]> granicus.if.org Git - python/commitdiff
Actually run the test.
authorGeorg Brandl <georg@python.org>
Tue, 5 Feb 2008 19:07:10 +0000 (19:07 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 5 Feb 2008 19:07:10 +0000 (19:07 +0000)
Lib/test/test_wave.py

index 575269a12b0f82dcda033e943d8607abff3bd9b6..02f5fae4df33489ce42312cb7362602bc53fdc04 100644 (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()