Skip to content

Commit 2620609

Browse files
committed
no cover last server error
we should not need this because this should only raise when a test fails
1 parent 167bb95 commit 2620609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idom/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def open_mount_function(self) -> Iterator[_Mount]:
106106
yield self._mount
107107
finally:
108108
if self.server.last_server_error_for_idom_testing.current is not None:
109-
raise self.server.last_server_error_for_idom_testing.current
109+
raise self.server.last_server_error_for_idom_testing.current # pragma: no cover
110110

111111

112112
class _RenderServerWithLastError(AnyRenderServer):

0 commit comments

Comments
 (0)