mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Issue #19926: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.
This commit is contained in:
parent
7ef00ff91a
commit
4adb37c40f
2 changed files with 3 additions and 4 deletions
|
|
@ -4,7 +4,6 @@
|
|||
import operator
|
||||
import unittest
|
||||
from numbers import Complex, Real, Rational, Integral
|
||||
from test import support
|
||||
|
||||
class TestNumbers(unittest.TestCase):
|
||||
def test_int(self):
|
||||
|
|
@ -40,9 +39,6 @@ def test_complex(self):
|
|||
self.assertRaises(TypeError, float, c1)
|
||||
self.assertRaises(TypeError, int, c1)
|
||||
|
||||
def test_main():
|
||||
support.run_unittest(TestNumbers)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
|
|
@ -97,6 +97,9 @@ Library
|
|||
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 #19588: Fixed tests in test_random that were silently skipped most
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue