Skip to content

Commit 9ddc860

Browse files
fix python 2 unit test
1 parent 1154e43 commit 9ddc860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/common/test_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def test_handle_connect_namespace_rejected_with_exception(self, eio):
294294
mgr = mock.MagicMock()
295295
s = server.Server(client_manager=mgr)
296296
handler = mock.MagicMock(
297-
side_effect=exceptions.ConnectionRefusedError('fail_reason'))
297+
side_effect=exceptions.ConnectionRefusedError(u'fail_reason'))
298298
s.on('connect', handler, namespace='/foo')
299299
s._handle_eio_connect('123', 'environ')
300300
s._handle_eio_message('123', '0/foo')

0 commit comments

Comments
 (0)