diff options
author | Paul McGuire <ptmcg@austin.rr.com> | 2016-07-27 21:42:20 +0000 |
---|---|---|
committer | Paul McGuire <ptmcg@austin.rr.com> | 2016-07-27 21:42:20 +0000 |
commit | 356b0d636fbddcfc25f4a9a14dde4dbc934d1e03 (patch) | |
tree | 1bd1e04f09285c795f92576481b073b889639663 /src | |
parent | 2ef1081bf2c521b2ca548c6e3d7e5df391fc5454 (diff) | |
download | pyparsing-git-356b0d636fbddcfc25f4a9a14dde4dbc934d1e03.tar.gz |
Typo in Jython-specific unit test
Diffstat (limited to 'src')
-rw-r--r-- | src/unitTests.py | 2 |
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)
|