Skip to content

Commit

Permalink
no cover last server error
Browse files Browse the repository at this point in the history
we should not need this because this should only raise when a test fails
  • Loading branch information
rmorshea committed Jan 9, 2021
1 parent 167bb95 commit 2620609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idom/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def open_mount_function(self) -> Iterator[_Mount]:
yield self._mount
finally:
if self.server.last_server_error_for_idom_testing.current is not None:
raise self.server.last_server_error_for_idom_testing.current
raise self.server.last_server_error_for_idom_testing.current # pragma: no cover


class _RenderServerWithLastError(AnyRenderServer):
Expand Down

0 comments on commit 2620609

Please sign in to comment.