From: Georg Brandl Date: Tue, 5 Feb 2008 19:07:10 +0000 (+0000) Subject: Actually run the test. X-Git-Tag: v2.6a1~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d86c7e5d9351e1d822e2f0fdc15e765d74837888;p=python Actually run the test. --- diff --git a/Lib/test/test_wave.py b/Lib/test/test_wave.py index 575269a12b..02f5fae4df 100644 --- a/Lib/test/test_wave.py +++ b/Lib/test/test_wave.py @@ -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()