Comments (3)
I am unable to reproduce.
Steps:
git clone [email protected]:pact-foundation/pact-python.git
docker run --rm -it --volume
pwd/pact-python:/src --workdir /src python:3.6 /bin/bash
pip install tox
tox -e py36-test
Result:
...
root@ae7385961287:/src# tox -e py36-test
GLOB sdist-make: /src/setup.py
py36-test create: /src/.tox/py36-test
py36-test installdeps: -rrequirements_dev.txt
py36-test inst: /src/.tox/dist/pact-python-0.10.0.zip
py36-test installed: certifi==2017.11.5,chardet==3.0.4,click==6.7,codecov==2.0.5,configparser==3.5.0,coverage==4.3.4,enum34==1.1.6,flake8==3.2.1,Flask==0.11.1,idna==2.6,itsdangerous==0.24,Jinja2==2.10,MarkupSafe==1.0,mccabe==0.5.2,mock==2.0.0,nose==1.3.7,pact-python==0.10.0,pbr==3.1.1,pluggy==0.5.2,psutil==5.4.1,py==1.5.2,pycodestyle==2.2.0,pydocstyle==1.1.1,pyflakes==1.3.0,requests==2.18.4,six==1.11.0,tox==2.5.0,tox-travis==0.8,urllib3==1.22,virtualenv==15.1.0,Werkzeug==0.12.2
py36-test runtests: PYTHONHASHSEED='2919336942'
py36-test runtests: commands[0] | nosetests
...........................................................................................
Name Stmts Miss Branch BrPart Cover
-------------------------------------------------------
pact.py 6 0 0 0 100%
pact/__version__.py 1 0 0 0 100%
pact/constants.py 12 0 4 0 100%
pact/consumer.py 10 0 2 0 100%
pact/matchers.py 37 0 14 0 100%
pact/pact.py 121 0 26 0 100%
pact/provider.py 3 0 0 0 100%
pact/verify.py 57 4 32 1 92%
-------------------------------------------------------
TOTAL 247 4 78 1 98%
----------------------------------------------------------------------
Ran 91 tests in 1.847s
OK
_________________________________________________________________________ summary _________________________________________________________________________
py36-test: commands succeeded
congratulations :)
Python version: 3.6.3
from pact-python.
I tried to reproduce this issue today as well and saw passing tests. A similar stack trace was reported in the flake8 project some time ago, but the fix should be included in the versions everyone is using here. Is there any chance a different version could be available in the environment when the tests are running?
I can take a look around the pact-python code a bit, but unless we can identify the line its encountering the issue on and rewrite it to be something that doesn't cause this error I'm not sure how we could resolve it without assistance from the pyflakes team.
from pact-python.
Closing as not re-raised
from pact-python.
Related Issues (20)
- `v1/http_provider.feature` HOT 1
- `v2/http_provider.feature` HOT 1
- `v3/http_provider.feature` HOT 1
- `v4/http_provider.feature` HOT 1
- `v1/http_consumer.feature` HOT 1
- `v2/http_consumer.feature` HOT 1
- `v3/http_consumer.feature` HOT 1
- `v4/http_consumer.feature` HOT 1
- Typos in documentation HOT 1
- Interactions not cleared when error in test
- Asynchronous/Messages metadata validation fail
- Automate Releases HOT 1
- Migrate from flat to src layout HOT 1
- No source distribution means the package cannot be installed HOT 8
- Incorrect link to contributing guidelines
- [CI] Windows Provider Unreachable HOT 1
- Add structured `Mismatch` class
- Code Rabbit Trial
- Enable caching of `uv`
- Add ConsumerVersionSelector Class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pact-python.