[Python-Dev] test_coercion failing

Jack Jansen jack@oratrix.nl
Tue, 20 Mar 2001 21:47:37 +0100


Test_coercion fails on the Mac (current CVS sources) with
We expected (repr): '(1+0j)'
But instead we got: '(1-0j)'
test test_coercion failed -- Writing: '(1-0j)', expected: '(1+0j)'

The computation it was doing was "2 / (2+0j) =".

To my mathematical eye it shouldn't be complaining in the first place, 
but I assume this may be either a missing round() somewhere or a
symptom of a genuine bug.

Can anyone point me in the right direction?
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | ++++ see http://www.xs4all.nl/~tank/ ++++