Check trusted_exec success.
(code, inputs, entry_point)
| 31 | |
| 32 | |
| 33 | def trusted_check_exec(code, inputs, entry_point): |
| 34 | """Check trusted_exec success.""" |
| 35 | try: |
| 36 | with time_limit(seconds=1.0): |
| 37 | trusted_exec(code, inputs, entry_point) |
| 38 | except Exception: |
| 39 | return False |
| 40 | return True |
no test coverage detected