Created
April 19, 2015 02:24
-
-
Save AndreaCensi/6896dfa442fb67b5a93a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Docker loginNo docker credentials provided, skipped docker login | |
Docker pull shippable/minv2:latestPulling image (latest) from shippable/minv2, | |
Pulling image (latest) from shippable/minv2, endpoint: https://registry-1.docker.io/v1/, | |
Pulling dependent layers, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Download complete, | |
Status: Image is up to date for shippable/minv2:latest, | |
Checking Image shippable/minv2:latestImage exists, starting boot sequence | |
Running containerDownloading/unpacking virtualenv==1.11.4 | |
Running setup.py egg_info for package virtualenv | |
warning: no previously-included files matching '*' found under directory 'docs/_templates' | |
warning: no previously-included files matching '*' found under directory 'docs/_build' | |
Cleaning up... | |
New python executable in /home/shippable/ve/bin/python2.7 | |
Also creating executable in /home/shippable/ve/bin/python | |
Installing setuptools, pip...done. | |
Running virtualenv with interpreter /usr/bin/python2.7 | |
Downloading/unpacking pika==0.9.13 (from -r requirements.txt (line 1)) | |
Running setup.py (path:/home/shippable/ve/build/pika/setup.py) egg_info for package pika | |
Downloading/unpacking boto==2.14.0 (from -r requirements.txt (line 2)) | |
Running setup.py (path:/home/shippable/ve/build/boto/setup.py) egg_info for package boto | |
warning: no files found matching 'boto/mturk/test/*.doctest' | |
warning: no files found matching 'boto/mturk/test/.gitignore' | |
Downloading/unpacking glob2==0.4.1 (from -r requirements.txt (line 3)) | |
Downloading glob2-0.4.1.tar.gz | |
Running setup.py (path:/home/shippable/ve/build/glob2/setup.py) egg_info for package glob2 | |
Installing collected packages: pika, boto, glob2 | |
Running setup.py install for pika | |
Running setup.py install for boto | |
warning: no files found matching 'boto/mturk/test/*.doctest' | |
warning: no files found matching 'boto/mturk/test/.gitignore' | |
changing mode of build/scripts-2.7/sdbadmin from 644 to 755 | |
changing mode of build/scripts-2.7/elbadmin from 644 to 755 | |
changing mode of build/scripts-2.7/cfadmin from 644 to 755 | |
changing mode of build/scripts-2.7/s3put from 644 to 755 | |
changing mode of build/scripts-2.7/fetch_file from 644 to 755 | |
changing mode of build/scripts-2.7/launch_instance from 644 to 755 | |
changing mode of build/scripts-2.7/list_instances from 644 to 755 | |
changing mode of build/scripts-2.7/taskadmin from 644 to 755 | |
changing mode of build/scripts-2.7/kill_instance from 644 to 755 | |
changing mode of build/scripts-2.7/bundle_image from 644 to 755 | |
changing mode of build/scripts-2.7/pyami_sendmail from 644 to 755 | |
changing mode of build/scripts-2.7/lss3 from 644 to 755 | |
changing mode of build/scripts-2.7/cq from 644 to 755 | |
changing mode of build/scripts-2.7/route53 from 644 to 755 | |
changing mode of build/scripts-2.7/cwutil from 644 to 755 | |
changing mode of build/scripts-2.7/instance_events from 644 to 755 | |
changing mode of build/scripts-2.7/asadmin from 644 to 755 | |
changing mode of build/scripts-2.7/glacier from 644 to 755 | |
changing mode of build/scripts-2.7/mturk from 644 to 755 | |
changing mode of build/scripts-2.7/dynamodb_dump from 644 to 755 | |
changing mode of build/scripts-2.7/dynamodb_load from 644 to 755 | |
changing mode of /home/shippable/ve/bin/dynamodb_load to 755 | |
changing mode of /home/shippable/ve/bin/fetch_file to 755 | |
changing mode of /home/shippable/ve/bin/dynamodb_dump to 755 | |
changing mode of /home/shippable/ve/bin/pyami_sendmail to 755 | |
changing mode of /home/shippable/ve/bin/mturk to 755 | |
changing mode of /home/shippable/ve/bin/glacier to 755 | |
changing mode of /home/shippable/ve/bin/kill_instance to 755 | |
changing mode of /home/shippable/ve/bin/instance_events to 755 | |
changing mode of /home/shippable/ve/bin/list_instances to 755 | |
changing mode of /home/shippable/ve/bin/asadmin to 755 | |
changing mode of /home/shippable/ve/bin/bundle_image to 755 | |
changing mode of /home/shippable/ve/bin/s3put to 755 | |
changing mode of /home/shippable/ve/bin/cwutil to 755 | |
changing mode of /home/shippable/ve/bin/cq to 755 | |
changing mode of /home/shippable/ve/bin/cfadmin to 755 | |
changing mode of /home/shippable/ve/bin/launch_instance to 755 | |
changing mode of /home/shippable/ve/bin/sdbadmin to 755 | |
changing mode of /home/shippable/ve/bin/route53 to 755 | |
changing mode of /home/shippable/ve/bin/elbadmin to 755 | |
changing mode of /home/shippable/ve/bin/lss3 to 755 | |
changing mode of /home/shippable/ve/bin/taskadmin to 755 | |
Running setup.py install for glob2 | |
Successfully installed pika boto glob2 | |
Cleaning up... | |
Host * | |
StrictHostKeyChecking no | |
Host * | |
StrictHostKeyChecking no | |
boot successful | |
sudo update-alternatives --set java /usr/lib/jvm/java-7-oracle/jre/bin/javaupdate-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/java to provide /usr/bin/java (java) in manual mode. | |
sudo update-alternatives --set javac /usr/lib/jvm/java-7-openjdk-amd64/bin/javacupdate-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode. | |
virtualenv -p /usr/bin/python3.4 /home/shippable/build_ve/python/3.4Using base prefix '/usr' | |
New python executable in /home/shippable/build_ve/python/3.4/bin/python3.4 | |
Not overwriting existing python script /home/shippable/build_ve/python/3.4/bin/python (you must use /home/shippable/build_ve/python/3.4/bin/python3.4) | |
Installing setuptools, pip...done. | |
Running virtualenv with interpreter /usr/bin/python3.4 | |
source /home/shippable/build_ve/python/3.4/bin/activatepython --versionPython 3.4.2 | |
pip --versionpip 1.5.4 from /home/shippable/build_ve/python/3.4/lib/python3.4/site-packages (python 3.4) | |
sudo su -c "/usr/bin/mysqld_safe > /dev/null 2>&1 &"echo "mysql started successfully"mysql started successfully | |
sudo su -c "sudo -u postgres /usr/lib/postgresql/9.2/bin/postgres -c "config_file=/etc/postgresql/9.2/main/postgresql.conf" > /dev/null 2>&1 &"echo "postgres started successfully"postgres started successfully | |
ssh-agent bash -c 'ssh-add /home/shippable/.ssh/project_rsa; git clone https://github.com/AndreaCensi/contracts.git /home/shippable/workspace/src/github.com/AndreaCensi/contracts'Identity added: /home/shippable/.ssh/project_rsa (/home/shippable/.ssh/project_rsa) | |
Cloning into '/home/shippable/workspace/src/github.com/AndreaCensi/contracts'... | |
git config --get user.name Shippable | |
git config --get user.email [email protected] | |
rm -rf /home/shippable/workspace/src/github.com/AndreaCensi/contracts/shippablemkdir -p /home/shippable/workspace/src/github.com/AndreaCensi/contracts/shippable/testresultsmkdir -p /home/shippable/workspace/src/github.com/AndreaCensi/contracts/shippable/codecoveragemkdir -p /home/shippable/workspace/src/github.com/AndreaCensi/contracts/shippable/buildoutputssh-agent bash -c 'ssh-add /home/shippable/.ssh/project_rsa; git fetch origin pull/39/head'Identity added: /home/shippable/.ssh/project_rsa (/home/shippable/.ssh/project_rsa) | |
From https://github.com/AndreaCensi/contracts | |
* branch refs/pull/39/head -> FETCH_HEAD | |
git checkout -f 521956baba5ec3b5e661e3b1737a7616f1f6d1a0Note: checking out '521956baba5ec3b5e661e3b1737a7616f1f6d1a0'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. | |
If you want to create a new branch to retain commits you create, you may | |
do so (now or later) by using -b with the checkout command again. Example: | |
git checkout -b new_branch_name | |
HEAD is now at 521956b... towards python 3 support | |
git merge origin/masterAlready up-to-date. | |
echo "No .gitmodules file was found in the repository"No .gitmodules file was found in the repository | |
pip install -r requirements.txtDownloading/unpacking pyparsing (from -r requirements.txt (line 1)) | |
Downloading pyparsing-2.0.3-py2.py3-none-any.whl | |
Downloading/unpacking decorator (from -r requirements.txt (line 2)) | |
Downloading decorator-3.4.2.tar.gz | |
Running setup.py (path:/home/shippable/build_ve/python/3.4/build/decorator/setup.py) egg_info for package decorator | |
Installing collected packages: pyparsing, decorator | |
Running setup.py install for decorator | |
Fixing build/lib/decorator.py | |
Skipping implicit fixer: buffer | |
Skipping implicit fixer: idioms | |
Skipping implicit fixer: set_literal | |
Skipping implicit fixer: ws_comma | |
Fixing build/lib/decorator.py | |
Skipping implicit fixer: buffer | |
Skipping implicit fixer: idioms | |
Skipping implicit fixer: set_literal | |
Skipping implicit fixer: ws_comma | |
Successfully installed pyparsing decorator | |
Cleaning up... | |
nosetests contracts..............................................................SS....S....................E................................................................................................................E...E.....E..E.E..................................................................................................................E..EE....E.....E..E.E..E.......................E.......E...............................................................................................................................................................E...E.....E..E.E............................................................................................................................E..EE....E.....E..E.E..E..................E.......E................................................................................................................................................................E...E.....E..E.E..................................................................................................................E..EE....E.....E..E.E..E.......................E.......E...............................................................................................................................................................E...E.....E..E.E............................................................................................................................E..EE....E.....E..E.E..E.......................E.......E...............................................................................................................................................................E...E.....E..E.E......................................................... | |
====================================================================== | |
ERROR: test_idioms (contracts.testing.test_new_contract.TestNewContract) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 16), (line:1, col:17) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2816, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 16), (line:1, col:17) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 592, in new_contract_impl | |
bare_contract = parse_contract_string(condition) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 16), (line:1, col:17) | |
line 1 >list[3](number,>=0,<=1) | |
^ | |
| | |
here or nearby | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_new_contract.py", line 205, in test_idioms | |
color = new_contract('color', 'list[3](number,>=0,<=1)') | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/__init__.py", line 33, in new_contract | |
return new_contract_main(*args) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 547, in new_contract | |
return new_contract_impl(*args) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 596, in new_contract_impl | |
raise ValueError(msg) | |
ValueError: The given condition 'list[3](number,>=0,<=1)' does not parse cleanly: Expected "-" (at char 16), (line:1, col:17) | |
line 1 >list[3](number,>=0,<=1) | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_exceptions_are_pickable('==0', 1, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_exceptions_are_pickable('>=0', -1, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_exceptions_are_pickable('1>=2', None, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=2 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_exceptions_are_pickable('1==0', None, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_exceptions_are_pickable('0>=1+1', None, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >0>=1+1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('==0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('>=1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('1>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('1==1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('1+1>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >1+1>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('3*2>=2*1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >3*2>=2*1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('Y,N==Y+1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >Y,N==Y+1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('=0,>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >=0,>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('==0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('1>=2',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=2 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('1==0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_pickling.test_contracts_are_pickable('0>=1+1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_pickling.py", line 32, in check_contract_pickable | |
c = parse(contract) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 330, in parse_flexible_spec | |
return parse_contract_string(spec) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >0>=1+1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('==0', 0) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('>=0', 1) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('>=0', 0) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('>=1', 1) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('1>=0', None) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('1==1', None) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('1+1>=0', None) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >1+1>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('3*2>=2*1', None) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >3*2>=2*1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good(['N', 'Y,N==Y+1'], [5, 4]) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >Y,N==Y+1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_good('=0,>=0', 0) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 10, in check_contracts_ok | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >=0,>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_contract_fail('==0', 1, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_contract_fail('>=0', -1, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_contract_fail('1>=2', None, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=2 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_contract_fail('1==0', None, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_contract_fail('0>=1+1', None, <class 'contracts.interface.ContractNotRespected'>) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/utils.py", line 24, in check_contracts_fail | |
context = check_contracts(contract, value) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 56, in check_contracts | |
C.append(parse_contract_string(x)) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >0>=1+1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('==0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('>=1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('1>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('1==1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('1+1>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >1+1>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('3*2>=2*1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >3*2>=2*1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('Y,N==Y+1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >Y,N==Y+1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('=0,>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >=0,>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('==0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('>=0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('1>=2',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=2 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('1==0',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_repr('0>=1+1',) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 72, in check_good_repr | |
parsed = parse_contract_string(c) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >0>=1+1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('==0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('>=0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('>=0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('>=1', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('1>=0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('1==1', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('1+1>=0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >1+1>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('3*2>=2*1', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >3*2>=2*1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('Y,N==Y+1', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >Y,N==Y+1 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('=0,>=0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2766, in parseImpl | |
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2369, in parseImpl | |
loc, exprtokens = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 4), (line:1, col:5) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 4), (line:1, col:5) | |
line 1 >=0,>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('==0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('>=0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 1), (line:1, col:2) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 1), (line:1, col:2) | |
line 1 >>=0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('1>=2', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1>=2 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('1==0', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >1==0 | |
^ | |
| | |
here or nearby | |
====================================================================== | |
ERROR: contracts.testing.test_simple.test_reconversion('0>=1+1', True) | |
---------------------------------------------------------------------- | |
pyparsing.ParseException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 81, in parse_contract_string | |
parseAll=True)[0] | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1125, in parseString | |
raise exc | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1115, in parseString | |
loc, tokens = self._parse( instring, 0 ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2361, in parseImpl | |
loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2624, in parseImpl | |
return self.expr._parse( instring, loc, doActions, callPreParse=False ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2483, in parseImpl | |
ret = e._parse( instring, loc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 1046, in _parseCache | |
value = self._parseNoCache( instring, loc, doActions, callPreParse ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 989, in _parseNoCache | |
loc,tokens = self.parseImpl( instring, preloc, doActions ) | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/pyparsing.py", line 2374, in parseImpl | |
raise ParseSyntaxException(pe) | |
pyparsing.ParseSyntaxException: Expected "-" (at char 2), (line:1, col:3) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/shippable/build_ve/python/3.4/lib/python3.4/site-packages/nose/case.py", line 198, in runTest | |
self.test(*self.arg) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/testing/test_simple.py", line 91, in check_recoversion | |
parsed = parse_contract_string(s) | |
File "/home/shippable/workspace/src/github.com/AndreaCensi/contracts/src/contracts/main.py", line 93, in parse_contract_string | |
raise ContractSyntaxError(msg, where=where) | |
contracts.interface.ContractSyntaxError: Expected "-" (at char 2), (line:1, col:3) | |
line 1 >0>=1+1 | |
^ | |
| | |
here or nearby | |
---------------------------------------------------------------------- | |
Ran 1671 tests in 3.833s | |
FAILED (SKIP=3, errors=66) | |
Build completedSkipping artifact uploadBuild completedparse_coverage_reportsNo coverage reports to parse.parse_test_reportsNo test reports to parse.Containercontainer gh_AndreaCensi_contracts_87_4_540e77d33479c5ea8f9e92b0 purged | |
ImageNo Image to purge | |
DirectoryPurging build directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment