[Zope] Exploring non always repeating tracebacks in test case

Andreas Jung lists at zopyx.com
Wed Jan 3 02:17:43 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On 3. Januar 2007 05:32:30 +0100 Marco Bizzarri 
<marco.bizzarri at gmail.com> wrote:
>
> Of course, there is a lot of my code here, so basically I'm not asking
> about the problem, but on how I could further explore the problem
> (aside from putting a conditional break in the code and run the tests
> until it is activated).
>
>

Take the debugger (pdb) and inspect the dictionary 'state' in case of an 
error. There is likely some key-value pair where the value is a 
'function'..you have to loop over every pair and inspect their type.

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFm1iYCJIWIbr9KYwRAv93AJ96Petl9kOQDEkGKJeOq8XMuVUdswCeNE55
/e3r/RRqYUMYnP/oS8OoUhM=
=WfFf
-----END PGP SIGNATURE-----



More information about the Zope mailing list