diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2009-06-30 05:33:50 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2009-06-30 05:33:50 (GMT) |
commit | aa3b5b857791052e4e22a137f8315992c389f6f4 (patch) | |
tree | d0f4321a2311b34bb3c090b25a12715f592f5c2a /Lib/unittest.py | |
parent | 84ec8d931404f4f9037242ec933fdcdcd4870114 (diff) | |
download | cpython-aa3b5b857791052e4e22a137f8315992c389f6f4.zip cpython-aa3b5b857791052e4e22a137f8315992c389f6f4.tar.gz cpython-aa3b5b857791052e4e22a137f8315992c389f6f4.tar.bz2 |
PendingDeprecationWarning -> DeprecationWarning. Both of these were
properly documented as being deprecated in 3.1.
Diffstat (limited to 'Lib/unittest.py')
-rw-r--r-- | Lib/unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py index ce990b7..611088b 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -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 |