summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2021-05-14 11:32:47 -0400
committerGitHub <noreply@github.com>2021-05-14 10:32:47 -0500
commit5353ccdd7026a7eeaa77029102f8c0043553ebd3 (patch)
treeafabf8efc9e0036e1a6903479cac8d7faaf23724 /tests
parentd27fd7627f3ed60b3b7a9e9f5e790d0e49107359 (diff)
downloadpyparsing-git-5353ccdd7026a7eeaa77029102f8c0043553ebd3.tar.gz
Fix misc. documentation typos (#280)
Found via `codespell -q 3 -L ba,fourty,halp,inout,strng`
Diffstat (limited to 'tests')
-rw-r--r--tests/json_parser_tests.py2
-rw-r--r--tests/test_unit.py8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/json_parser_tests.py b/tests/json_parser_tests.py
index a5779ba..1b8c058 100644
--- a/tests/json_parser_tests.py
+++ b/tests/json_parser_tests.py
@@ -103,7 +103,7 @@ test4 = """
/*
New! useJSP switches on JSP template processing.
jspListTemplate and jspFileTemplate are the names
- of the default templates to look for when aquiring JSP
+ of the default templates to look for when acquiring JSP
templates. Cofax currently in production at KR has useJSP
set to false, since our sites currently use WYSIWYG
templating exclusively.
diff --git a/tests/test_unit.py b/tests/test_unit.py
index 9b47f28..09ad6a4 100644
--- a/tests/test_unit.py
+++ b/tests/test_unit.py
@@ -6811,7 +6811,7 @@ class Test2_WithoutPackrat(ppt.TestParseResultsAsserts, TestCase):
def testWarnNameSetOnEmptyForward(self):
"""
- - warn_name_set_on_empty_Forward - flag to enable warnings whan a Forward is defined
+ - warn_name_set_on_empty_Forward - flag to enable warnings when a Forward is defined
with a results name, but has no contents defined (default=False)
"""
@@ -6828,7 +6828,7 @@ class Test2_WithoutPackrat(ppt.TestParseResultsAsserts, TestCase):
def testWarnParsingEmptyForward(self):
"""
- - warn_on_parse_using_empty_Forward - flag to enable warnings whan a Forward
+ - warn_on_parse_using_empty_Forward - flag to enable warnings when a Forward
has no contents defined (default=False)
"""
@@ -6848,7 +6848,7 @@ class Test2_WithoutPackrat(ppt.TestParseResultsAsserts, TestCase):
def testWarnIncorrectAssignmentToForward(self):
"""
- - warn_on_parse_using_empty_Forward - flag to enable warnings whan a Forward
+ - warn_on_parse_using_empty_Forward - flag to enable warnings when a Forward
has no contents defined (default=False)
"""
if PYPY_ENV:
@@ -6870,7 +6870,7 @@ class Test2_WithoutPackrat(ppt.TestParseResultsAsserts, TestCase):
def testWarnOnMultipleStringArgsToOneOf(self):
"""
- - warn_on_multiple_string_args_to_oneof - flag to enable warnings whan oneOf is
+ - warn_on_multiple_string_args_to_oneof - flag to enable warnings when oneOf is
incorrectly called with multiple str arguments (default=True)
"""