Skip to content

Commit 6d8df7e

Browse files
Fix pylint spelling check
1 parent 84361af commit 6d8df7e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_similar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ def test_duplicate_code_module_attribution() -> None:
275275
"""
276276
path = join(DATA, "2368")
277277
reporter = GenericTestReporter()
278-
# Pass files explicitly with the unrelated module last, so that
279-
# current_name points to xmlgen when close() fires.
278+
# Pass files explicitly with the unrelated module last, so that current_name
279+
# points to a file without duplication when close() fires.
280280
Run(
281281
[
282282
join(path, "databaselib.py"),
@@ -295,7 +295,7 @@ def test_duplicate_code_module_attribution() -> None:
295295
assert msg.symbol == "duplicate-code"
296296
# The message text contains "=={module_name}:[start:end]" for each
297297
# involved module. The message's own .module must be one of them,
298-
# not the unrelated xmlgen module.
298+
# but not the unrelated module.
299299
involved = re.findall(r"==(\S+?):\[", msg.msg)
300300
assert msg.module in involved, (
301301
f"R0801 attributed to {msg.module!r} which is not in "

0 commit comments

Comments
 (0)