File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 21
21
e.g. with ``request.getfuncargvalue ``. BACKWARD INCOMPAT: Previously these params
22
22
were simply never defined. So a fixture decorated like ``@pytest.fixture(params=[0, 1, 2]) ``
23
23
only ran once. Now a failure is raised. Fixes (`#460 `_). Thanks to
24
- `@nikratio `_ for bug report, `@RedBeardCode `_ and `@tomviner `_ for PR.
24
+ `@nikratio `_ for bug report, `@RedBeardCode `_ and `@tomviner `_ for the PR.
25
25
26
26
* Create correct diff for strings ending with newlines. Fixes (`#1553 `_).
27
27
Thanks `@Vogtinator `_ for reporting. Thanks to `@RedBeardCode `_ and
Original file line number Diff line number Diff line change @@ -94,9 +94,8 @@ def wrap_session(config, doit):
94
94
excinfo = _pytest ._code .ExceptionInfo ()
95
95
if initstate < 2 and isinstance (
96
96
excinfo .value , pytest .exit .Exception ):
97
- excinfo = _pytest ._code .ExceptionInfo ()
98
97
sys .stderr .write ('{0}: {1}\n ' .format (
99
- type ( excinfo .value ). __name__ , excinfo .value .msg ))
98
+ excinfo .typename , excinfo .value .msg ))
100
99
config .hook .pytest_keyboard_interrupt (excinfo = excinfo )
101
100
session .exitstatus = EXIT_INTERRUPTED
102
101
except :
You can’t perform that action at this time.
0 commit comments