summaryrefslogtreecommitdiff
path: root/tests/lint/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lint/test_utils.py')
-rw-r--r--tests/lint/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lint/test_utils.py b/tests/lint/test_utils.py
index f7294f353..44703982e 100644
--- a/tests/lint/test_utils.py
+++ b/tests/lint/test_utils.py
@@ -15,7 +15,7 @@ def test_prepare_crash_report(tmp_path: PosixPath) -> None:
template_path = prepare_crash_report(
ex, str(python_file), str(tmp_path / "pylint-crash-%Y.txt")
)
- assert str(tmp_path) in str(template_path)
+ assert str(tmp_path) in str(template_path) # pylint: disable=used-before-assignment
with open(template_path, encoding="utf8") as f:
template_content = f.read()
assert python_content in template_content