summaryrefslogtreecommitdiff
path: root/tests/reporters
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-06-27 16:30:39 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-06-29 10:19:55 +0200
commit640f92449d0e76c1bbad4084867030c470dc4689 (patch)
tree94edf64d2c96478e4bbe4687712443c8b11aafd6 /tests/reporters
parent1b7965a028fecabfd1488f4c5c50b8172fcec217 (diff)
downloadpylint-git-640f92449d0e76c1bbad4084867030c470dc4689.tar.gz
[pylint.message] Add a location attribute to 'pylint.Message'
Diffstat (limited to 'tests/reporters')
-rw-r--r--tests/reporters/unittest_json_reporter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reporters/unittest_json_reporter.py b/tests/reporters/unittest_json_reporter.py
index fd29d8ea8..90a67fceb 100644
--- a/tests/reporters/unittest_json_reporter.py
+++ b/tests/reporters/unittest_json_reporter.py
@@ -132,6 +132,6 @@ def get_linter_result(score: bool, message: dict[str, Any]) -> list[dict[str, An
],
)
def test_serialize_deserialize(message):
- # TODO (3.0): Add confidence handling, add path and abs path handling
+ # TODO: 3.0: Add confidence handling, add path and abs path handling or a new JSONReporter
json_message = JSONReporter.serialize(message)
assert message == JSONReporter.deserialize(json_message)