[Python-Dev] 2.1c1: test_format failing?

Mark Favas m.favas@per.dem.csiro.au
Fri, 13 Apr 2001 08:43:57 +0800


A couple of additions to test_format.py between April 12 and 13 now
cause the test to fail on Tru64 Unix (with Compaq's C compiler). Has
anyone else noticed errors with the test? The failures when running the
test standalone are:

'%#o' % 0 =? '0' ... no
u'%#o' % 0 =? '0' ... no

and from "make test":

test_format
The actual stdout doesn't match the expected stdout.
This much did match (between asterisk lines):
**********************************************************************
test_format
**********************************************************************
Then ...
We expected (repr): ''
But instead we got: "'%#o' % 0 == '00' != '0'"
test test_format failed -- Writing: "'%#o' % 0 == '00' != '0'",
expected: ''

-- 
Mark Favas  -   m.favas@per.dem.csiro.au
CSIRO, Private Bag No 5, Wembley, Western Australia 6913, AUSTRALIA