File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -401,7 +401,8 @@ def test_reset_snapshot_package_error_reports_safe_context(
401401 f"archive from { unavailable .url } ?X-Amz-Credential=signed-secret "
402402 "server%body-secret reason%secret"
403403 )
404- snapshot_reset ["fetch_error" ] = CondaMultiError ((error ,))
404+ # Conda workers aggregate RuntimeError despite CondaMultiError's annotation.
405+ snapshot_reset ["fetch_error" ] = CondaMultiError ((error ,)) # ty: ignore[invalid-argument-type]
405406
406407 with pytest .raises (CondaError ) as exc_info :
407408 reset (prefix = "/target" , snapshot = snapshot )
@@ -455,7 +456,7 @@ def test_reset_snapshot_package_error_reports_safe_context(
455456 "conda_package_handling.exceptions.InvalidArchiveError: "
456457 "corrupt archive"
457458 ),
458- )
459+ ) # ty: ignore[invalid-argument-type]
459460 ),
460461 ],
461462 ids = [
You can’t perform that action at this time.
0 commit comments