Skip to content

Commit 38c6a28

Browse files
copilot review
1 parent 74d2476 commit 38c6a28

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/.platforms/generate_platforms.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,12 @@ def wrapper() -> T:
7979
file=sys.stderr,
8080
)
8181
time.sleep(delay)
82-
raise last_error # type: ignore[misc]
82+
if last_error is not None:
83+
raise last_error
84+
raise RuntimeError(
85+
f"Retry failed without capturing a CalledProcessError. "
86+
f"max_attempts={max_attempts!r}"
87+
)
8388

8489
return wrapper
8590

.github/.platforms/windows-x86_64-py310.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"cp310-cp310-win_amd64",
1717
"cp310-abi3-win_amd64",
1818
"cp310-none-win_amd64",
19-
"cp310-abi3-win_amd64",
2019
"cp39-abi3-win_amd64",
2120
"cp38-abi3-win_amd64",
2221
"cp37-abi3-win_amd64",

0 commit comments

Comments
 (0)