This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: add tests for complex numbers
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: loewis, nnorwitz
Priority: normal Keywords: patch

Created on 2001-12-19 02:19 by nnorwitz, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_complex.diff nnorwitz, 2001-12-19 02:19 test_complex.py patch
Messages (3)
msg38544 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2001-12-19 02:19
add various tests for complex numbers to improve test
coverage
msg38545 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2001-12-28 22:10
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.
msg38546 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2001-12-29 01:02
Logged In: YES 
user_id=33168

I checked in the parts that don't require
comparison of complex numbers.  Checked in as 1.6

I will open a new patch to address the comparison
of complex numbers.
History
Date User Action Args
2022-04-10 16:04:48adminsetgithub: 35788
2001-12-19 02:19:44nnorwitzcreate