mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Allow device call exceptions to propagate after cleanup
This commit is contained in:
parent
70ca6d7729
commit
3e4e1d88a2
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user