Add custom callback exception callable #12483
Annotations
5 errors
Test unit:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_exception_raise
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/threading.py", line 881, in __init__
self._invoke_excepthook = _make_invoke_excepthook()
ResourceWarning: unclosed <socket.socket fd=21, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
|
Test unit:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_exception_callable
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/threading.py", line 881, in __init__
self._invoke_excepthook = _make_invoke_excepthook()
ResourceWarning: unclosed <socket.socket fd=18, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
|
Test unit:
panel/tests/chat/test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
Test unit:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_two_arguments
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/parameterized.py", line 2523, in objects
return dict(pdict, **self_.self._param__private.params)
ResourceWarning: unclosed <socket.socket fd=24, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
|
Test unit
Process completed with exit code 1.
|
Loading