Commit c4026c69 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Ignore test coverage of exception __str__ methods

parent b40495a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ class UnexpectedMessage(TypeError):
	if TYPE_CHECKING:
		def __init__(self, message: Message): ...

	def __str__(self) -> str:
	def __str__(self) -> str:  # pragma: no-cover
		return f"message was not expected by the protocol: {self.args[0]}"