Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5ba2f8 commit 34b6763Copy full SHA for 34b6763
1 file changed
tests/helpers.py
@@ -265,15 +265,15 @@ def arcz_to_arcs(arcz: str) -> list[TArc]:
265
for pair in arcz.split():
266
asgn = bsgn = 1
267
if len(pair) == 2:
268
- a, b = pair # type: ignore[misc]
+ a, b = pair # type: ignore[str-unpack]
269
else:
270
assert len(pair) == 3
271
if pair[0] == "-":
272
- _, a, b = pair # type: ignore[misc]
+ _, a, b = pair # type: ignore[str-unpack]
273
asgn = -1
274
275
assert pair[1] == "-"
276
- a, _, b = pair # type: ignore[misc]
+ a, _, b = pair # type: ignore[str-unpack]
277
bsgn = -1
278
arcs.append((asgn * _arcz_map[a], bsgn * _arcz_map[b]))
279
return sorted(arcs)
0 commit comments