aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-12-30 15:32:03 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2014-12-30 15:32:03 -0500
commit9abd79bb787317892a1641ff2f4db332250c090c (patch)
treed0a37de599e16c10086a5c7e05e372771a1edd01 /tests
parent49fa23af8141f7c5665e2e8633ad425cd823dfec (diff)
downloadmarkdown-9abd79bb787317892a1641ff2f4db332250c090c.tar.gz
markdown-9abd79bb787317892a1641ff2f4db332250c090c.tar.bz2
markdown-9abd79bb787317892a1641ff2f4db332250c090c.zip
PendingDeprecationWarning (v2.5) => DeprecationWarning (v2.6)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_apis.py12
1 files changed, 6 insertions, 6 deletions
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)']
)