File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -62,16 +62,6 @@ def test_marshall_exception_trace_chained_exceptions(self):
6262 # Ensure 'The above exception was the direct cause' appears
6363 self .assertIn ("The above exception was the direct cause" , trace )
6464
65- def test_serialize_exception_returns_rpc_exception (self ):
66- try :
67- raise ValueError ("Error for proto" )
68- except ValueError as exc :
69- result = Dispatcher ._serialize_exception (exc )
70- self .assertIsInstance (result , MockProtos .RpcException )
71- self .assertIn ("ValueError" , result .message )
72- self .assertIn ("Error for proto" , result .message )
73- self .assertIn ("raise ValueError" , result .stack_trace )
74-
7565 def test_serialize_exception_with_unserializable_exception (self ):
7666 class BadExc (Exception ):
7767 def __str__ (self ):
You can’t perform that action at this time.
0 commit comments