Skip to content

Commit 29e58ea

Browse files
committed
Docs update
1 parent cfbc14a commit 29e58ea

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

tests/rlm/test_phase3.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,9 @@ def test_benchmark_cases_have_pure_rlm_env(self):
370370
for preset in ["oolong_style", "browsecomp_style", "token_efficiency"]:
371371
cases = get_benchmark_cases(preset)
372372
for case in cases:
373-
assert (
374-
case.environment == "pure_rlm"
375-
), f"{preset}/{case.case_id} should use pure_rlm"
373+
assert case.environment == "pure_rlm", (
374+
f"{preset}/{case.case_id} should use pure_rlm"
375+
)
376376

377377
def test_benchmark_cases_have_reasonable_timeouts(self):
378378
"""Test that paper benchmarks have appropriate timeouts."""

tests/test_retry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ def failing_operation():
8383
with pytest.raises(ValueError):
8484
controller.execute_sync_with_retry(failing_operation, "test_op")
8585

86-
assert (
87-
attempt_count == max_attempts
88-
), f"Expected {max_attempts} attempts, got {attempt_count}"
86+
assert attempt_count == max_attempts, (
87+
f"Expected {max_attempts} attempts, got {attempt_count}"
88+
)
8989

9090
@pytest.mark.asyncio
9191
async def test_async_retry_respects_max_attempts(self):

tests/test_security_validator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,6 @@ class MockConfig:
209209
validator = SecurityValidator()
210210

211211
# Check module code (where calculator_tool is defined)
212-
assert not validator.has_eval(
213-
program.module_code
214-
), f"Generated module code should not contain eval():\n{program.module_code}"
212+
assert not validator.has_eval(program.module_code), (
213+
f"Generated module code should not contain eval():\n{program.module_code}"
214+
)

0 commit comments

Comments
 (0)