We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
skip
1 parent 67388dd commit 061ba99Copy full SHA for 061ba99
protoplaster/conf/csv_generator.py
@@ -35,8 +35,9 @@ def get_test_message(self, report):
35
report.longrepr.reprcrash, "message"):
36
msg = report.longrepr.reprcrash.message
37
return msg.split("\nassert")[0]
38
- else:
39
- return ""
+ elif report.skipped and isinstance(report.longrepr, tuple):
+ return report.longrepr[2]
40
+ return ""
41
42
@pytest.mark.hookwrapper
43
def pytest_runtest_makereport(self, item, call):
0 commit comments