Module v.c.e.h.trial_assertwarns

Part of vmc.contrib.epsilon.hotfixes

failUnlessWarns assertion from twisted.trial in the pending 2.6 release.

This is from r20668; it should be updated as bugfixes are made.
Function failUnlessWarns Fail if the given function doesn't generate the specified warning when
Function install Undocumented
def failUnlessWarns(self, category, message, filename, f, *args, **kwargs):
Fail if the given function doesn't generate the specified warning when called. It calls the function, checks the warning, and forwards the result of the function if everything is fine.
Parameterscategorythe category of the warning to check.
messagethe output message of the warning to check.
filenamethe filename where the warning should come from.
fthe function which is supposed to generate the warning. (type: any callable. )
argsthe arguments to f.
kwargsthe keywords arguments to f.
Returnsthe result of the original function f.
def install():
Undocumented
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.