summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2019-04-01 23:13:09 -0500
committerPaul McGuire <ptmcg@austin.rr.com>2019-04-01 23:13:09 -0500
commit639e64d5da626a12f01d077797587b0cc31c231b (patch)
tree39a4757aeb43ddb2111ab1d6c6f3d6a8a6a247c2
parentc024ce89feea5f0cda05aa518f77e39eb6c0ec95 (diff)
downloadpyparsing-git-639e64d5da626a12f01d077797587b0cc31c231b.tar.gz
Remove disabling of tests for Py2 when using explain
-rw-r--r--unitTests.py8
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")