Skip to content

Commit 5f07bd4

Browse files
committed
ruff
1 parent c6baa7c commit 5f07bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_sockets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __enter__(self):
7878
try:
7979
import websockify # type: ignore
8080
except ModuleNotFoundError:
81-
raise Exception('Unable to import module websockify. Run "python3 -m pip install websockify" or set environment variable EMTEST_LACKS_PYTHON_WEBSOCKIFY=1 to skip this test.')
81+
raise Exception('Unable to import module websockify. Run "python3 -m pip install websockify" or set environment variable EMTEST_LACKS_PYTHON_WEBSOCKIFY=1 to skip this test.') from None
8282

8383
# start the websocket proxy
8484
print('running websockify on %d, forward to tcp %d' % (self.listen_port, self.target_port), file=sys.stderr)

0 commit comments

Comments
 (0)