aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/test_tools.py
diff options
context:
space:
mode:
authorEdward Betts <edward@4angle.com>2018-01-13 09:25:40 +0000
committerWaylan Limberg <waylan.limberg@icloud.com>2018-01-13 11:42:50 -0500
commit3fad73031e544de6c9f74621de923da3806a6c21 (patch)
treec9c4c6524f6d46627856d46a5caf011b9e293b2e /markdown/test_tools.py
parent6d1537ac5e528db9e91cf905f507bb409e546d2c (diff)
downloadmarkdown-3fad73031e544de6c9f74621de923da3806a6c21.tar.gz
markdown-3fad73031e544de6c9f74621de923da3806a6c21.tar.bz2
markdown-3fad73031e544de6c9f74621de923da3806a6c21.zip
Correct spelling mistakes.
Diffstat (limited to 'markdown/test_tools.py')
-rw-r--r--markdown/test_tools.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/markdown/test_tools.py b/markdown/test_tools.py
index 9324bd4..204536a 100644
--- a/markdown/test_tools.py
+++ b/markdown/test_tools.py
@@ -128,7 +128,7 @@ class LegacyTestMeta(type):
return type.__new__(cls, name, bases, dct)
-# Define LegacyTestCase class with metaclass in Py2 & Py3 compatable way.
+# Define LegacyTestCase class with metaclass in Py2 & Py3 compatible way.
# See https://stackoverflow.com/a/38668373/866026
# TODO: If/when py2 support is dropped change to:
# class LegacyTestCase(unittest.Testcase, metaclass=LegacyTestMeta)
@@ -142,7 +142,7 @@ class LegacyTestCase(LegacyTestMeta('LegacyTestCase', (unittest.TestCase,), {'__
text-based test files and define various behaviors/defaults for those tests.
The following properties are supported:
- location: A path to the directory fo test files. An absolute path is prefered.
+ location: A path to the directory fo test files. An absolute path is preferred.
exclude: A list of tests to exclude. Each test name should comprise the filename
without an extension.
normalize: A boolean value indicating if the HTML should be normalized.
@@ -161,7 +161,7 @@ class LegacyTestCase(LegacyTestMeta('LegacyTestCase', (unittest.TestCase,), {'__
test file. The keyword arguments will "update" the `default_kwargs`.
When the class instance is created, it will walk the given directory and create
- a seperate unitttest for each set of test files using the naming scheme:
+ a separate unitttest for each set of test files using the naming scheme:
`test_filename`. One unittest will be run for each set of input and output files.
"""
pass