File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ def test_requests_with_retry(caplog):
20
20
21
21
assert caplog .messages == [
22
22
"Starting new HTTPS connection (1): example.test:443" ,
23
- Matches ("Incremented Retry.*Retry\(total=1" ),
24
- Matches ("Retrying.*total=1.*Failed to (establish a new connection|resolve)" ),
23
+ Matches (r "Incremented Retry.*Retry\(total=1" ),
24
+ Matches (r "Retrying.*total=1.*Failed to (establish a new connection|resolve)" ),
25
25
"Starting new HTTPS connection (2): example.test:443" ,
26
- Matches ("Incremented Retry.*Retry\(total=0" ),
27
- Matches ("Retrying.*total=0.*Failed to (establish a new connection|resolve)" ),
26
+ Matches (r "Incremented Retry.*Retry\(total=0" ),
27
+ Matches (r "Retrying.*total=0.*Failed to (establish a new connection|resolve)" ),
28
28
"Starting new HTTPS connection (3): example.test:443" ,
29
29
]
30
30
You can’t perform that action at this time.
0 commit comments