diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2018-09-24 17:53:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 17:53:51 -0500 |
commit | 5241985c6eb694358995d82761cb4d05f448bcd8 (patch) | |
tree | 883a9d8be504080b999875d2dc67a16bc38c85c0 | |
parent | 389a8d74b0e9ceef97c782693faa2f294a0f1c9d (diff) | |
download | pyparsing-git-5241985c6eb694358995d82761cb4d05f448bcd8.tar.gz |
Formatting and comment cleanup in simple_unit_tests
-rw-r--r-- | simple_unit_tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/simple_unit_tests.py b/simple_unit_tests.py index 7b8bf2c..acf75ea 100644 --- a/simple_unit_tests.py +++ b/simple_unit_tests.py @@ -75,6 +75,7 @@ class PyparsingExpressionTestCase(unittest.TestCase): self.assertEqual(ar.exception.loc, test_spec.expected_fail_locn) +#=========== TEST DEFINITIONS START HERE ============== class TestLiteral(PyparsingExpressionTestCase): tests = [ @@ -148,7 +149,6 @@ class TestWord(PyparsingExpressionTestCase): ), ] - class TestRepetition(PyparsingExpressionTestCase): tests = [ PpTestSpec( @@ -178,7 +178,6 @@ class TestRepetition(PyparsingExpressionTestCase): ), ] - class TestResultsName(PyparsingExpressionTestCase): tests = [ PpTestSpec( @@ -319,6 +318,9 @@ class TestTransformStringUsingParseActions(PyparsingExpressionTestCase): ), ] + +#============ MAIN ================ + if __name__ == '__main__': # we use unittest features that are in Py3 only, bail out if run on Py2 import sys |