summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b>2016-07-27 21:42:20 +0000
committerptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b>2016-07-27 21:42:20 +0000
commit5de6ce85bdaf6737d0533aa749249f20e7703725 (patch)
tree1bd1e04f09285c795f92576481b073b889639663
parentf88253a853b7fc86bd05b9bf4ffe153baab7bb9f (diff)
downloadpyparsing-5de6ce85bdaf6737d0533aa749249f20e7703725.tar.gz
Typo in Jython-specific unit test
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@380 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
-rw-r--r--src/unitTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unitTests.py b/src/unitTests.py
index c867e6e..ad352a4 100644
--- a/src/unitTests.py
+++ b/src/unitTests.py
@@ -1454,7 +1454,7 @@ class UpcaseDowncaseUnicode(ParseTestCase):
ualphas = "".join( unichr(i) for i in range(sys.maxunicode)
if unichr(i).isalpha() )
else:
- ualphas = "".join( unichr(i) for i in itertools.chain(range(0xd800), range(0xe00,sys.maxunicode))
+ ualphas = "".join( unichr(i) for i in list(range(0xd800)) + list(range(0xe00,sys.maxunicode))
if unichr(i).isalpha() )
uword = pp.Word(ualphas).setParseAction(pp.upcaseTokens)