doctest, comparison control

Bruce Edge bedge at troikanetworks.com
Tue May 15 22:38:59 CEST 2001


Is there any way to specify fields to ignore in the result from a test?

One of my linked in C++ libs throws exception that include source file line
number. THis throws off the test suite:

*****************************************************************
Failure in example: z.pxxl( XX , YY )
from line #34 of test.zetest
Expected:
Error: User exception members: ('ze_i.cc', 1416 )
Got:
Error: User exception members: ('ze_i.cc', 1421 )

TIA, Bruce.



More information about the Python-list mailing list