branch: elpa/flycheck
commit b87cb243c89b7333d30669d1779a88a982c45e20
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Update python-mypy test for error code extraction
The mypy checker now uses --show-error-codes and extracts the
error code into the :id field. Update test expectation to match.
---
test/specs/languages/test-python.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/specs/languages/test-python.el
b/test/specs/languages/test-python.el
index 69ba47c966..f320ab556b 100644
--- a/test/specs/languages/test-python.el
+++ b/test/specs/languages/test-python.el
@@ -44,7 +44,7 @@
(flycheck-buttercup-should-syntax-check
"language/python/invalid_type.py" 'python-mode
'(2 12 error "Incompatible return value type (got \"str\", expected
\"int\")"
- :checker python-mypy))))
+ :id "return-value" :checker python-mypy))))
(flycheck-buttercup-def-checker-test python-pylint python nil
(let ((flycheck-disabled-checkers '(python-flake8 python-mypy))