Skip to content

Commit f9821a3

Browse files
committed
chore: remove unneeded exceptions stub
Was a typo before, unnecessary, as the stub expresses the necessary raises. Signed-off-by: Mike Fiedler <[email protected]>
1 parent c618d70 commit f9821a3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/unit/oidc/forms/test_activestate.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def test_lookup_actor_404(self, monkeypatch):
128128
)
129129
requests = pretend.stub(
130130
post=pretend.call_recorder(lambda o, **kw: response),
131-
exception=_requests.exceptions,
132131
Timeout=Timeout,
133132
HTTPError=HTTPError,
134133
ConnectionError=ConnectionError,
@@ -160,7 +159,6 @@ def test_lookup_actor_other_http_error(self, monkeypatch):
160159
)
161160
requests = pretend.stub(
162161
post=pretend.call_recorder(lambda o, **kw: response),
163-
exception=_requests.exceptions,
164162
Timeout=Timeout,
165163
HTTPError=HTTPError,
166164
ConnectionError=ConnectionError,

0 commit comments

Comments
 (0)