Comments (4)
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.
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.
@klrmn What exaclty is meant by this issue? The topic alone doesn't help.
from pytest-rerunfailures.
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)
- Rerun all tests if any test fails
- For "only_rerun" allow access exception attributes HOT 1
- Can you identify if a particular is a re-run or not? HOT 3
- ENH: New option to rerun failures with the exception/inclusion of a path HOT 2
- Session and class scope fixtures won't teardown when specifying only_rerun or rerun_except HOT 1
- Tests are terminating with internal error HOT 7
- ImportError: cannot import name ‘resultlog_key‘ from ‘_pytest.resultlog‘
- pytest_runtest_logreport does not report "teardown" when using pytest-rerunfailures HOT 4
- AttributeError: 'list' object has no attribute 'items' in `_pytest.runner.SetupState.setup` HOT 4
- AttributeError: 'str' object has no attribute 'reprcrash' while using pytest.mark.xfail HOT 4
- Teardown of fixture with scope=class is not called if following test passes only after rerun or fails after rerun HOT 4
- `pytest-rerunfailures` slows down `pytest-xdist` testing HOT 3
- pytest_handlecrashitem faults with NotImplementedError when using the loadgroup test distribution algorithm HOT 1
- [RFC] `--pdb`: Friendlier default (use warning and infer `--reruns 0`)
- [RFC] `--reruns-on-exitfirst`: set reruns with `--exitfirst` / `-x`
- unify various linters with Ruff HOT 1
- only_rerun with exception raised from fixture teardown reruns test but report previous runs as failure
- set reruns does not work HOT 5
- Tests fail against pytest >= 8.2 HOT 6
- Test class instance is not recreated when retrying tests
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 pytest-rerunfailures.