summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2013-12-08 07:01:42 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2013-12-08 07:01:42 (GMT)
commit34bc8974cd119814276c6e8bc7a9ad518967d59f (patch)
treeb34111f988cbf37b201468755e4448f2fe9edc72 /Lib
parent101d9e7250c039aeabea1582459d40b52cc81024 (diff)
parent4adb37c40f541fe6c36330da1e95935f1f39cc3d (diff)
downloadcpython-34bc8974cd119814276c6e8bc7a9ad518967d59f.zip
cpython-34bc8974cd119814276c6e8bc7a9ad518967d59f.tar.gz
cpython-34bc8974cd119814276c6e8bc7a9ad518967d59f.tar.bz2
Issue #19926: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_abstract_numbers.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_abstract_numbers.py b/Lib/test/test_abstract_numbers.py
index 253e6f0..2e06f0d 100644
--- a/Lib/test/test_abstract_numbers.py
+++ b/Lib/test/test_abstract_numbers.py
@@ -4,7 +4,6 @@ import math
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 @@ class TestNumbers(unittest.TestCase):
self.assertRaises(TypeError, float, c1)
self.assertRaises(TypeError, int, c1)
-def test_main():
- support.run_unittest(TestNumbers)
-
if __name__ == "__main__":
unittest.main()