From: Guido van Rossum Date: Fri, 19 Oct 2001 16:05:55 +0000 (+0000) Subject: The 2.1 regrest.py doesn't have the test_main() feature yet, so always X-Git-Tag: v2.1.2c1~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0039bd73ef3112d0a130272a4d774207ae2bc859;p=thirdparty%2FPython%2Fcpython.git The 2.1 regrest.py doesn't have the test_main() feature yet, so always call test_main() at the end. --- diff --git a/Lib/test/test_profile.py b/Lib/test/test_profile.py index 6ff5811817e1..c28bf0aae096 100644 --- a/Lib/test/test_profile.py +++ b/Lib/test/test_profile.py @@ -82,5 +82,4 @@ class C: ticks += 1 raise AttributeError -if __name__ == "__main__": - test_main() +test_main()