Commit 4adb37c4 authored by Zachary Ware's avatar Zachary Ware

Issue #19926: Removed unneeded test_main from test_abstract_numbers.

Patch by Vajrasky Kok.
parent 7ef00ff9
...@@ -4,7 +4,6 @@ import math ...@@ -4,7 +4,6 @@ import math
import operator import operator
import unittest import unittest
from numbers import Complex, Real, Rational, Integral from numbers import Complex, Real, Rational, Integral
from test import support
class TestNumbers(unittest.TestCase): class TestNumbers(unittest.TestCase):
def test_int(self): def test_int(self):
...@@ -40,9 +39,6 @@ class TestNumbers(unittest.TestCase): ...@@ -40,9 +39,6 @@ class TestNumbers(unittest.TestCase):
self.assertRaises(TypeError, float, c1) self.assertRaises(TypeError, float, c1)
self.assertRaises(TypeError, int, c1) self.assertRaises(TypeError, int, c1)
def test_main():
support.run_unittest(TestNumbers)
if __name__ == "__main__": if __name__ == "__main__":
unittest.main() unittest.main()
...@@ -97,6 +97,9 @@ Library ...@@ -97,6 +97,9 @@ Library
Tests Tests
----- -----
- Issue #19926: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.
- Issue #19595: Re-enabled a long-disabled test in test_winsound. - Issue #19595: Re-enabled a long-disabled test in test_winsound.
- Issue #19588: Fixed tests in test_random that were silently skipped most - Issue #19588: Fixed tests in test_random that were silently skipped most
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment