@@ -4,10 +4,10 @@
"owner": "pytest",
"pattern": [
{
- "regexp": "^Traceback"
+ "regexp": "^____"
},
- "regexp": "^\\s+File\\s\"(.*)\",\\sline\\s(\\d+),\\sin\\s(.*)$",
+ "regexp": "^(.*):(\\d+):\\sin\\s(.*)$",
"file": 1,
"line": 2
@@ -15,7 +15,7 @@
"regexp": "^\\s+.*"
- "regexp": "^(\\w+Error:.*)",
+ "regexp": "^E\\s+(.*)$",
"message": 1,
"loop": true
}
@@ -1,5 +1,7 @@
[tool:pytest]
python_files = test*.py
+# Note: When updating pytest tweaks, make sure to update getsentry
+# When updating the traceback format, make sure to update .github/pytest.json
addopts = --tb=short -p no:doctest -p no:warnings
norecursedirs = bin dist docs htmlcov script hooks node_modules .* {args}
looponfailroots = src tests