Change links from bitbucket to GitHub

This commit is contained in:
Bruno Oliveira
2015-06-15 18:28:31 -03:00
parent 42e7456780
commit b40f760cc3
7 changed files with 22 additions and 13 deletions

View File

@@ -1066,7 +1066,7 @@ def raises(ExpectedException, *args, **kwargs):
if ExpectedException is AssertionError:
# we want to catch a AssertionError
# replace our subclass with the builtin one
# see https://bitbucket.org/pytest-dev/pytest/issue/176/pytestraises
# see https://github.com/pytest-dev/pytest/issues/176
from _pytest.assertion.util import BuiltinAssertionError \
as ExpectedException
msg = ("exceptions must be old-style classes or"