summaryrefslogtreecommitdiff
path: root/tests/test_syntax/extensions/test_md_in_html.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2023-04-06 19:21:46 -0400
committerGitHub <noreply@github.com>2023-04-06 19:21:46 -0400
commit07b8b2c90a92c20fb0740d5527c6a219d2afb7ae (patch)
tree5f8058c02c96082ca21072698fc46a09e7c36a20 /tests/test_syntax/extensions/test_md_in_html.py
parentbe1c2839dd587a858f91c710e56667cba9f5329d (diff)
downloadpython-markdown-07b8b2c90a92c20fb0740d5527c6a219d2afb7ae.tar.gz
Use pyspelling to check spelling.
In addition to checking the spelling in our documentation, we are now also checking the spelling of the README.md and similar files as well as comments in our Python code.
Diffstat (limited to 'tests/test_syntax/extensions/test_md_in_html.py')
-rw-r--r--tests/test_syntax/extensions/test_md_in_html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_syntax/extensions/test_md_in_html.py b/tests/test_syntax/extensions/test_md_in_html.py
index 6c13f11..3de49b0 100644
--- a/tests/test_syntax/extensions/test_md_in_html.py
+++ b/tests/test_syntax/extensions/test_md_in_html.py
@@ -32,7 +32,7 @@ class TestMarkdownInHTMLPostProcessor(TestCase):
def test_stash_to_string(self):
# There should be no known cases where this actually happens so we need to
- # forcefully pass an etree Element to the method to ensure proper behavior.
+ # forcefully pass an `etree` `Element` to the method to ensure proper behavior.
element = Element('div')
element.text = 'Foo bar.'
md = Markdown(extensions=['md_in_html'])
@@ -1208,7 +1208,7 @@ class TestMdInHTML(TestCase):
def load_tests(loader, tests, pattern):
- ''' Ensure TestHTMLBlocks doesn't get run twice by excluding it here. '''
+ ''' Ensure `TestHTMLBlocks` doesn't get run twice by excluding it here. '''
suite = TestSuite()
for test_class in [TestDefaultwMdInHTML, TestMdInHTML, TestMarkdownInHTMLPostProcessor]:
tests = loader.loadTestsFromTestCase(test_class)