[Pytest-commit] commit/py: hpk42: remove comment about ExceptionInfo attributes being private.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Jan 23 12:16:56 CET 2014
1 new commit in py:
https://bitbucket.org/hpk42/py/commits/472806557434/
Changeset: 472806557434
User: hpk42
Date: 2014-01-23 12:16:49
Summary: remove comment about ExceptionInfo attributes being private.
Affected #: 1 file
diff -r b4230dbdd9b5127a320fd1caa9861ca1577e0d98 -r 47280655743431abd4355062ae1db788790c582e py/_code/code.py
--- a/py/_code/code.py
+++ b/py/_code/code.py
@@ -336,8 +336,6 @@
"""
_striptext = ''
def __init__(self, tup=None, exprinfo=None):
- # NB. all attributes are private! Subclasses or other
- # ExceptionInfo-like classes may have different attributes.
if tup is None:
tup = sys.exc_info()
if exprinfo is None and isinstance(tup[1], AssertionError):
Repository URL: https://bitbucket.org/hpk42/py/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list