[Python-checkins] cpython (3.3): combine two tests to avoid duplicate names (closes #19116)

benjamin.peterson python-checkins at python.org
Sun Sep 29 16:58:41 CEST 2013


http://hg.python.org/cpython/rev/cddb3e1e5054
changeset:   85835:cddb3e1e5054
branch:      3.3
parent:      85833:aaa00c0e825d
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Sep 29 10:50:15 2013 -0400
summary:
  combine two tests to avoid duplicate names (closes #19116)

files:
  Lib/test/test_complex.py |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py
--- a/Lib/test/test_complex.py
+++ b/Lib/test/test_complex.py
@@ -101,7 +101,6 @@
         # FIXME: The following currently crashes on Alpha
         # self.assertRaises(OverflowError, pow, 1e200+1j, 1e200+1j)
 
-    def test_truediv(self):
         self.assertAlmostEqual(complex.__truediv__(2+0j, 1+1j), 1-1j)
         self.assertRaises(ZeroDivisionError, complex.__truediv__, 1+1j, 0+0j)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list