Skip to content

Commit 4d77310

Browse files
committed
fix legacy test
1 parent 84a7257 commit 4d77310

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

workers/tests/unittests/test_tracing.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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):

0 commit comments

Comments
 (0)