tests/crashgetbundler.py
author Siddharth Agarwal <sid0@fb.com>
Wed, 07 Jun 2017 15:47:06 -0700
changeset 32715 a4d0e816a672
parent 30914 f3807a135e43
child 43076 2372284d9457
permissions -rw-r--r--
run-tests: add information about skipped tests to XUnit output The XUnit spec supports skipped tests.

from __future__ import absolute_import

from mercurial.i18n import _
from mercurial import (
        changegroup,
        error,
        extensions
    )

def abort(orig, *args, **kwargs):
    raise error.Abort(_('this is an exercise'))

def uisetup(ui):
    extensions.wrapfunction(changegroup, 'getbundler', abort)