We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e97f870 commit 8132878Copy full SHA for 8132878
1 file changed
tests/source/test_async_source_err.py
@@ -9,7 +9,6 @@
9
from grpc.aio._server import Server
10
11
from pynumaflow import setup_logging
12
-from pynumaflow._constants import ERR_UDF_EXCEPTION_STRING
13
from pynumaflow.sourcer import SourceAsyncServer
14
from pynumaflow.proto.sourcer import source_pb2_grpc
15
from google.protobuf import empty_pb2 as _empty_pb2
@@ -93,11 +92,7 @@ def test_read_error(self) -> None:
93
92
for _ in generator_response:
94
pass
95
except BaseException as e:
96
- self.assertTrue(
97
- f"{ERR_UDF_EXCEPTION_STRING}: TypeError("
98
- '"handle_async_error() missing 1 required positional argument: '
99
- "'exception_type'\")" in e.__str__()
100
- )
+ self.assertTrue("Got a runtime error from read handler" in e.__str__())
101
return
102
except grpc.RpcError as e:
103
grpc_exception = e
0 commit comments