[Python-Dev] test_descrtut failing
Jack Jansen
jack@oratrix.nl
Sat, 08 Sep 2001 15:48:53 +0200
Test_descrtut is driving me up the wall (or actually, the whole test
suite is:-).
If I run it from regrtest it fails with the completely useless message
test_descrtut
The actual stdout doesn't match the expected stdout.
This much did match (between asterisk lines):
**********************************************************************
test_descrtut
**********************************************************************
Then ...
We expected (repr): ''
But instead we got:
'*****************************************************************\n'
test test_descrtut failed -- Writing:
'*****************************************************************\n',
expected: ''
If I run it standalone it doesn't work because all the typenames are
different. This is a general problem, I've seen the same on unix.
In general, I find the new test framework not much of an
improvement. Whereas with old tests you would get some indication as
to what was failing, currently it is at best a not very helpful "We
expected '' But in stead we got 'TestFailed'", and at worst something
like the above.
--
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.cwi.nl/~jack | ++++ see http://www.xs4all.nl/~tank/ ++++