unittest inconsistent

Matt Haggard haggardii at gmail.com
Wed Jan 6 01:14:49 CET 2010

Can anyone tell me why this test fails?


This is a minimal example of a much more complex thing I'm trying to
do.  I'm trying to hijack a function and inspect the args passed to it
by another function.

The reason the 'Tester' object has no attribute 'arg1' is because
"self" still refers to the object made for testA.

More information about the Python-list mailing list