Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the check to make sure not --looponfail isn't working #1

Closed
klrmn opened this issue Aug 10, 2012 · 4 comments
Closed

the check to make sure not --looponfail isn't working #1

klrmn opened this issue Aug 10, 2012 · 4 comments
Labels

Comments

@klrmn
Copy link
Contributor

klrmn commented Aug 10, 2012

No description provided.

@bh
Copy link
Member

bh commented Aug 22, 2014

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

@klrmn
Copy link
Contributor Author

klrmn commented Aug 22, 2014

@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).

@florianpilz
Copy link
Contributor

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

@klrmn
Copy link
Contributor Author

klrmn commented May 21, 2015

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 notifications@github.com
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)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants