[Patches] [ python-Patches-494873 ] add tests for complex numbers
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 28 Dec 2001 14:10:31 -0800
Patches item #494873, was opened at 2001-12-18 18:19
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=494873&group_id=5470
Category: Library (Lib)
Group: Python 2.3
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: add tests for complex numbers
Initial Comment:
add various tests for complex numbers to improve test
coverage
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2001-12-28 14:10
Message:
Logged In: YES
user_id=21627
The patch looks fine, please apply. Two comments:
- You may want to use test_support.verify and .vereq where
appropriate.
- Comparing floating-point numbers for equality is a tricky
thing. It may be necessary to extend test_support.fcmp to
complex numbers, and use that instead.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=494873&group_id=5470