From 0039bd73ef3112d0a130272a4d774207ae2bc859 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 19 Oct 2001 16:05:55 +0000 Subject: [PATCH] The 2.1 regrest.py doesn't have the test_main() feature yet, so always call test_main() at the end. --- Lib/test/test_profile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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() -- 2.47.3