Skip to content

Commit 1062d00

Browse files
committed
fix
1 parent e0cbffe commit 1062d00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

benchmarks/ens/test_ens_benchmarks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def __init__(self, result):
3636
self.status_code = 200
3737
self._result = result
3838
self.headers = {}
39-
self.content = self.text = ""
39+
# Ensure .text and .content are valid JSON strings
40+
self.text = self.content = json.dumps(result)
4041

4142
def json(self):
4243
return self._result

0 commit comments

Comments
 (0)