Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34b6763

Browse files
committed
refactor: mypy changed a message slug
1 parent f5ba2f8 commit 34b6763

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,15 @@ def arcz_to_arcs(arcz: str) -> list[TArc]:
265265
for pair in arcz.split():
266266
asgn = bsgn = 1
267267
if len(pair) == 2:
268-
a, b = pair # type: ignore[misc]
268+
a, b = pair # type: ignore[str-unpack]
269269
else:
270270
assert len(pair) == 3
271271
if pair[0] == "-":
272-
_, a, b = pair # type: ignore[misc]
272+
_, a, b = pair # type: ignore[str-unpack]
273273
asgn = -1
274274
else:
275275
assert pair[1] == "-"
276-
a, _, b = pair # type: ignore[misc]
276+
a, _, b = pair # type: ignore[str-unpack]
277277
bsgn = -1
278278
arcs.append((asgn * _arcz_map[a], bsgn * _arcz_map[b]))
279279
return sorted(arcs)

0 commit comments

Comments
 (0)