summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pstats.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_pstats.py')
-rw-r--r--Lib/test/test_pstats.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/Lib/test/test_pstats.py b/Lib/test/test_pstats.py
index 9ebeebb..566b3ea 100644
--- a/Lib/test/test_pstats.py
+++ b/Lib/test/test_pstats.py
@@ -34,12 +34,5 @@ class StatsTestCase(unittest.TestCase):
stats.add(self.stats, self.stats)
-def test_main():
- support.run_unittest(
- AddCallersTestCase,
- StatsTestCase,
- )
-
-
if __name__ == "__main__":
- test_main()
+ unittest.main()