deprecate use of 'disabled'

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-12-30 12:13:38 +01:00
parent f02b84d528
commit 4656bc4c97
5 changed files with 50 additions and 39 deletions

View File

@@ -72,6 +72,7 @@ def deprecated_call(func, *args, **kwargs):
warningmodule.warn = warn
if not l:
#print warningmodule
__tracebackhide__ = True
raise AssertionError("%r did not produce DeprecationWarning" %(func,))
return ret