Giter Site home page Giter Site logo

Comments (3)

ftobia avatar ftobia commented on August 21, 2024

I am unable to reproduce.

Steps:

  1. git clone [email protected]:pact-foundation/pact-python.git
  2. docker run --rm -it --volume pwd/pact-python:/src --workdir /src python:3.6 /bin/bash
  3. pip install tox
  4. 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.

matthewbalvanz-wf avatar matthewbalvanz-wf commented on August 21, 2024

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.

elliottmurray avatar elliottmurray commented on August 21, 2024

Closing as not re-raised

from pact-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.