Skip to content

Commit f9755c8

Browse files
committed
fix linting on tests
1 parent ea0b91c commit f9755c8

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎tests/test_local_repl.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,4 +243,3 @@ def test_simulated_rlm_completions_functions_not_preserved(self):
243243
assert "NameError" in result.stderr
244244
assert "my_helper" in result.stderr
245245
completion_2_env.cleanup()
246-

‎tests/test_local_repl_persistent.py‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,12 @@ def test_full_persistent_session_simulation(self):
198198
assert result.stderr == ""
199199
assert repl.locals["profit"] == 600
200200

201-
repl.add_history([
202-
{"role": "user", "content": "What were the sales?"},
203-
{"role": "assistant", "content": "Sales were $1000"},
204-
])
201+
repl.add_history(
202+
[
203+
{"role": "user", "content": "What were the sales?"},
204+
{"role": "assistant", "content": "Sales were $1000"},
205+
]
206+
)
205207

206208
code = """
207209
summary = f"Sales: {context_0}, Costs: {context_1}, Profit: {profit}"

0 commit comments

Comments
 (0)