[snip] >> I have a test which always fails when running `trial twisted.test` but >> pass if executed as an individual tests.... this is due to a failure >> which is only raised at garbage collection. > > > Wait, related to this problem? I would expect the test to just try and use > the thing that comes out as a Failure, and check that it's of the > appropriate type... I don't understand how GC comes in to play. Could you > provide said test? >
I remember reading somewhere (maybe official documentation) that unhandled deferred which have a failure as a result are only logged at reactor shutdown or when some garbage collection process take place. I thought that this is the reason why the tests is failing. I have added the details of the test in the ticket. Thanks for the commment! -- Adi Roiban _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python