def test_pending(self):
    '\n        `Connection.pending` returns the number of bytes available for\n        immediate read.\n        '
    connection = Connection(Context(TLSv1_METHOD), None)
    assert (connection.pending() == 0)
`Connection.pending` returns the number of bytes available for
immediate read.
def test_pending(self):
    '\n        `Connection.pending` returns the number of bytes available for\n        immediate read.\n        '
    connection = Connection(Context(TLSv1_METHOD), None)
    assert (connection.pending() == 0)