summaryrefslogtreecommitdiff
path: root/unitTests.py
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2018-09-24 23:32:42 -0500
committerPaul McGuire <ptmcg@austin.rr.com>2018-09-24 23:32:42 -0500
commit60568e17ac1d70a5af39309ab955f87282f2d5f8 (patch)
tree12c2022edd329e50732d3781208fd75efa14bdf9 /unitTests.py
parent54728a0f0c68c77272b8f5c9b82e3bcac12f8ee4 (diff)
downloadpyparsing-git-60568e17ac1d70a5af39309ab955f87282f2d5f8.tar.gz
Fix tab-space inconsistency wrought by misconfigured editor
Diffstat (limited to 'unitTests.py')
-rw-r--r--unitTests.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/unitTests.py b/unitTests.py
index a165e39..b7a5171 100644
--- a/unitTests.py
+++ b/unitTests.py
@@ -985,13 +985,13 @@ class SkipToParserTests(ParseTestCase):
tryToParse('some text /* comment with ; in */; working')
tryToParse('some text /* comment with ; in */some other stuff; working', fail_expected=True)
- # test that we correctly create named results
- text = "prefixDATAsuffix"
- data = Literal("DATA")
- suffix = Literal("suffix")
- expr = SkipTo(data + suffix)('prefix') + data + suffix
- result = expr.parseString(text)
- assert isinstance(result.prefix, str), "SkipTo created with wrong saveAsList attribute"
+ # test that we correctly create named results
+ text = "prefixDATAsuffix"
+ data = Literal("DATA")
+ suffix = Literal("suffix")
+ expr = SkipTo(data + suffix)('prefix') + data + suffix
+ result = expr.parseString(text)
+ assert isinstance(result.prefix, str), "SkipTo created with wrong saveAsList attribute"
class CustomQuotesTest(ParseTestCase):
def runTest(self):