diff --git a/src/pylibsshext/includes/callbacks.pxd b/src/pylibsshext/includes/callbacks.pxd index d06611d81..40fcd0c80 100644 --- a/src/pylibsshext/includes/callbacks.pxd +++ b/src/pylibsshext/includes/callbacks.pxd @@ -19,7 +19,7 @@ from libc.stdint cimport uint32_t from pylibsshext.includes.libssh cimport ssh_session, ssh_channel -cdef extern from "libssh/callbacks.h" nogil: +cdef extern from "libssh/callbacks.h": void ssh_callbacks_init(void *) diff --git a/tests/unit/channel_test.py b/tests/unit/channel_test.py index ea5b78817..f5b6544f2 100644 --- a/tests/unit/channel_test.py +++ b/tests/unit/channel_test.py @@ -22,11 +22,6 @@ def ssh_channel(ssh_client_session): chan.close() -@pytest.mark.xfail( - reason='This test causes SEGFAULT, flakily.', - run=False, - strict=False, -) @pytest.mark.forked def test_exec_command(ssh_channel): """Test getting the output of a remotely executed command."""