summaryrefslogtreecommitdiff
path: root/tests/test_apis.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_apis.py')
-rw-r--r--tests/test_apis.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_apis.py b/tests/test_apis.py
index 6564c66..16f3088 100644
--- a/tests/test_apis.py
+++ b/tests/test_apis.py
@@ -272,11 +272,11 @@ class RegistryTests(unittest.TestCase):
self.assertEqual(len(r), 2)
r.deregister('c', strict=False)
self.assertEqual(len(r), 1)
- # deregister non-existant item with strict=False
+ # deregister non-existent item with strict=False
r.deregister('d', strict=False)
self.assertEqual(len(r), 1)
with self.assertRaises(ValueError):
- # deregister non-existant item with strict=True
+ # deregister non-existent item with strict=True
r.deregister('e')
self.assertEqual(list(r), ['a'])
@@ -455,7 +455,7 @@ class TestErrors(unittest.TestCase):
self.assertRaises(TypeError, markdown.Markdown, extensions=[object])
def testDotNotationExtensionWithBadClass(self):
- """ Test Extension loading with non-existant class name (`path.to.module:Class`). """
+ """ Test Extension loading with non-existent class name (`path.to.module:Class`). """
self.assertRaises(
AttributeError,
markdown.Markdown,