def test_shutdown(self):
    '\n        `Connection.bio_shutdown` signals the end of the data stream\n        from which the `Connection` reads.\n        '
    server = self._server(None)
    server.bio_shutdown()
    with pytest.raises(Error) as err:
        server.recv(1024)
    assert (type(err.value) in [Error, SysCallError])
`Connection.bio_shutdown` signals the end of the data stream
from which the `Connection` reads.
def test_shutdown(self):
    '\n        `Connection.bio_shutdown` signals the end of the data stream\n        from which the `Connection` reads.\n        '
    server = self._server(None)
    server.bio_shutdown()
    with pytest.raises(Error) as err:
        server.recv(1024)
    assert (type(err.value) in [Error, SysCallError])