From 9abd79bb787317892a1641ff2f4db332250c090c Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 30 Dec 2014 15:32:03 -0500 Subject: PendingDeprecationWarning (v2.5) => DeprecationWarning (v2.6) --- tests/test_apis.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/test_apis.py') diff --git a/tests/test_apis.py b/tests/test_apis.py index 769ac83..4ed2990 100644 --- a/tests/test_apis.py +++ b/tests/test_apis.py @@ -371,24 +371,24 @@ class TestErrors(unittest.TestCase): ) def testMdxExtention(self): - """ Test that appending mdx_ raises a PendingDeprecationWarning. """ + """ Test that prepending mdx_ raises a DeprecationWarning. """ _create_fake_extension(name='fake', use_old_style=True) self.assertRaises( - PendingDeprecationWarning, + DeprecationWarning, markdown.Markdown, extensions=['fake'] ) def testShortNameExtention(self): - """ Test that using a short name raises a PendingDeprecationWarning. """ + """ Test that using a short name raises a DeprecationWarning. """ self.assertRaises( - PendingDeprecationWarning, + DeprecationWarning, markdown.Markdown, extensions=['footnotes'] ) def testStringConfigExtention(self): - """ Test that passing configs to an Extension in the name raises a PendingDeprecationWarning. """ + """ Test that passing configs to an Extension in the name raises a DeprecationWarning. """ self.assertRaises( - PendingDeprecationWarning, + DeprecationWarning, markdown.Markdown, extensions=['markdown.extension.footnotes(PLACE_MARKER=FOO)'] ) -- cgit v1.2.3