Skip to content

Commit e506aad

Browse files
update test error string
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 74f3f3e commit e506aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def inner_gen():
172172

173173
return inner_gen()
174174

175-
with pytest.raises(ValueError, match="Sleep generator"):
175+
with pytest.raises(ValueError, match="Sleep generator stopped yielding sleep values"):
176176
gen = RetryableGenerator(target_fn, lambda x: True, [], None)
177177
next(gen)
178178

0 commit comments

Comments
 (0)