diff options
Diffstat (limited to 'Lib/test/test_fpformat.py')
-rw-r--r-- | Lib/test/test_fpformat.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Lib/test/test_fpformat.py b/Lib/test/test_fpformat.py index 9d20dc9..d4a5eb2 100644 --- a/Lib/test/test_fpformat.py +++ b/Lib/test/test_fpformat.py @@ -66,4 +66,10 @@ class FpformatTest(unittest.TestCase): else: self.fail("No exception on non-numeric sci") -run_unittest(FpformatTest) + +def test_main(): + run_unittest(FpformatTest) + + +if __name__ == "__main__": + test_main() |