':py:obj:`Connection.pending` raises :py:obj:`TypeError` if called with any arguments.'

def test_pending_wrong_args(self):

    connection = Connection(Context(TLSv1_METHOD), None)
    self.assertRaises(TypeError, connection.pending, None)
