diff options
-rw-r--r-- | unitTests.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/unitTests.py b/unitTests.py index baae01d..b1c4477 100644 --- a/unitTests.py +++ b/unitTests.py @@ -3980,10 +3980,6 @@ class ParseResultsWithNameOr(ParseTestCase): class EmptyDictDoesNotRaiseException(ParseTestCase): def runTest(self): - if not PY_3: - print('explain() not supported in Py2') - return - import pyparsing as pp key = pp.Word(pp.alphas) @@ -4005,10 +4001,6 @@ class EmptyDictDoesNotRaiseException(ParseTestCase): class ExplainExceptionTest(ParseTestCase): def runTest(self): - if not PY_3: - print('explain() not supported in Py2') - return - import pyparsing as pp expr = pp.Word(pp.nums).setName("int") + pp.Word(pp.alphas).setName("word") |