File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ def test_plan_no_prompt_error(self):
142142 obs = Observation (step = 1 , self_state = {}, local_state = {})
143143
144144 with pytest .raises (
145- ValueError , match = "No prompt provided and agent.step_prompt is None"
145+ ValueError , match = r "No prompt provided and agent.step_prompt is None"
146146 ):
147147 reasoning .plan (obs = obs )
148148
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def test_plan_no_prompt_error(self):
150150 obs = Observation (step = 1 , self_state = {}, local_state = {})
151151
152152 with pytest .raises (
153- ValueError , match = "No prompt provided and agent.step_prompt is None"
153+ ValueError , match = r "No prompt provided and agent.step_prompt is None"
154154 ):
155155 reasoning .plan (obs = obs )
156156
@@ -200,6 +200,6 @@ def test_aplan_no_prompt_error(self):
200200 obs = Observation (step = 1 , self_state = {}, local_state = {})
201201
202202 with pytest .raises (
203- ValueError , match = "No prompt provided and agent.step_prompt is None"
203+ ValueError , match = r "No prompt provided and agent.step_prompt is None"
204204 ):
205205 asyncio .run (reasoning .aplan (obs = obs ))
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ def test_plan_no_prompt_error(self):
202202 reasoning = ReWOOReasoning (mock_agent )
203203
204204 with pytest .raises (
205- ValueError , match = "No prompt provided and agent.step_prompt is None"
205+ ValueError , match = r "No prompt provided and agent.step_prompt is None"
206206 ):
207207 reasoning .plan ()
208208
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def test_speak_to_records_on_recipients(mocker):
9898 r2 .memory .add_to_memory .assert_called_once ()
9999
100100 # Verify payload structure for one recipient
101- args , kwargs = r1 .memory .add_to_memory .call_args
101+ _ , kwargs = r1 .memory .add_to_memory .call_args
102102 assert kwargs ["type" ] == "message"
103103 content = kwargs ["content" ]
104104 assert content ["message" ] == message
You can’t perform that action at this time.
0 commit comments