PendingDeprecationWarning -> DeprecationWarning. Both of these were

properly documented as being deprecated in 3.1.
This commit is contained in:
Gregory P. Smith 2009-06-30 05:33:50 +00:00
parent 84ec8d9314
commit aa3b5b8577
2 changed files with 2 additions and 2 deletions

View file

@ -680,7 +680,7 @@ class TestCase(object):
def deprecated_func(*args, **kwargs):
warnings.warn(
'Please use {0} instead.'.format(original_func.__name__),
PendingDeprecationWarning, 2)
DeprecationWarning, 2)
return original_func(*args, **kwargs)
return deprecated_func