Allow device call exceptions to propagate after cleanup

This commit is contained in:
Steven Robertson 2010-09-12 16:22:56 -04:00
parent 70ca6d7729
commit 3e4e1d88a2

View File

@ -647,7 +647,8 @@ class PTXEntryPoint(PTXFragment):
try: try:
self._call(ctx, func, *args, **kwargs) self._call(ctx, func, *args, **kwargs)
finally: finally:
return ctx.call_teardown(self) res = ctx.call_teardown(self)
return res
class PTXTestFailure(Exception): pass class PTXTestFailure(Exception): pass