X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_error.py;fp=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_error.py;h=c1d637778ebfc97aeb7ef81caded89f7dbd69201;hb=90ab1cfa06fc5b2d195a907361d3cee8b5646b44;hp=8caef1034d6e511841c10340540851e2fe5b88b4;hpb=2a52034afe45faa6321ca6f0cdcb46b08292fb04;p=babeltrace.git diff --git a/tests/bindings/python/bt2/test_error.py b/tests/bindings/python/bt2/test_error.py index 8caef103..c1d63777 100644 --- a/tests/bindings/python/bt2/test_error.py +++ b/tests/bindings/python/bt2/test_error.py @@ -60,11 +60,8 @@ class SinkWithExceptionChaining(bt2._UserSinkComponent): def _consume(self): try: - print(self._iter.__next__) next(self._iter) except bt2._Error as e: - print(hex(id(e))) - print(e.__dict__) raise ValueError('oops') from e