failed WRONG_FIX UNSUBMITTED wrong_fix_unsubmitted(None) · None tool calls · 0 s · encode/httpx
(not found in data/tasks.jsonl)
| # | Tool | Arguments | Result |
|---|---|---|---|
| No trace captured. | |||
--- a/httpx/_exceptions.py
+++ b/httpx/_exceptions.py
@@ -331,9 +331,7 @@ class StreamClosed(StreamError):
"""
def __init__(self) -> None:
- message = (
- "Attempted to read or stream content, but the stream has " "been closed."
- )
+ message = "Attempted to read or stream content, but the stream has been closed."
super().__init__(message)
--- a/httpx/_urls.py
+++ b/httpx/_urls.py
@@ -379,7 +379,7 @@ class URL:
if ":" in userinfo:
# Mask any password component.
- userinfo = f'{userinfo.split(":")[0]}:[secure]'
+ userinfo = f"{userinfo.split(':')[0]}:[secure]"
authority = "".join(
[
--- a/requirements.txt
+++ b/requirements.txt
@@ -22,7 +22,7 @@ coverage[toml]==7.6.1
cryptography==44.0.1
mypy==1.13.0
pytest==8.3.4
-ruff==0.8.1
+ruff==0.12.11
trio==0.27.0
trio-typing==0.10.0
trustme==1.2.0
ImportError while loading conftest '/private/tmp/swe_work/mined_oracle/httpx_3651/b/workspace/tests/conftest.py'.
tests/conftest.py:9: in <module>
import trustme
E ModuleNotFoundError: No module named 'trustme'