Giter Club home page Giter Club logo

Comments (4)

bh avatar bh commented on September 1, 2024
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/main.py", line 84, in wrap_session
INTERNALERROR>     doit(config, session)
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/main.py", line 122, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/core.py", line 413, in __call__
INTERNALERROR>     return self._docall(methods, kwargs)
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/core.py", line 424, in _docall
INTERNALERROR>     res = mc.execute()
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/core.py", line 315, in execute
INTERNALERROR>     res = method(**kwargs)
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/main.py", line 142, in pytest_runtestloop
INTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/core.py", line 413, in __call__
INTERNALERROR>     return self._docall(methods, kwargs)
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/core.py", line 424, in _docall
INTERNALERROR>     res = mc.execute()
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/_pytest/core.py", line 315, in execute
INTERNALERROR>     res = method(**kwargs)
INTERNALERROR>   File "/srv/jenkins/jobs/mx-master/workspace/src/.tox/py34/lib/python3.4/site-packages/rerunfailures/plugin.py", line 77, in pytest_runtest_protocol
INTERNALERROR>     for i in range(reruns+1):  # ensure at least one run of each item
INTERNALERROR> UnboundLocalError: local variable 'reruns' referenced before assignment

from pytest-rerunfailures.

klrmn avatar klrmn commented on September 1, 2024

@bh

I'm not sure what this stack trace has to do with --looponfail, but I have never used python 3.x. I would be happy to accept a PR for changes to make it work on 3.4, presuming that it doesn't break backwards compatibility with 2.x (as defined by passing tox runs).

from pytest-rerunfailures.

florianpilz avatar florianpilz commented on September 1, 2024

@klrmn What exaclty is meant by this issue? The topic alone doesn't help.

from pytest-rerunfailures.

klrmn avatar klrmn commented on September 1, 2024

i wish i remembered. i suggest you close it and wait until you / someone
else runs into whatever i thought the problem might be =). maybe i intended
for my plugin to self-disable if another plugin's --looponfail was
requested?

On Wed, May 20, 2015 at 11:12 PM, Florian Pilz [email protected]
wrote:

@klrmn https://github.com/klrmn What exaclty is meant by this issue?
The topic alone doesn't help.


Reply to this email directly or view it on GitHub
#1 (comment)
.

from pytest-rerunfailures.

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.