Revert change of Callinfo.result default value
As discussed in #3560, this should not go to master because this breaks the API. Reverts commits:1a7dcd73cf198e993969
This commit is contained in:
@@ -473,7 +473,7 @@ def test_callinfo():
|
||||
assert "result" in repr(ci)
|
||||
ci = runner.CallInfo(lambda: 0 / 0, "123")
|
||||
assert ci.when == "123"
|
||||
assert ci.result is None
|
||||
assert not hasattr(ci, "result")
|
||||
assert ci.excinfo
|
||||
assert "exc" in repr(ci)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user