Method
trace_python
(self, script_file, python_file, optimize_python=None)
Source from the content-addressed store, hash-verified
| 75 | return stdout |
| 76 | |
| 77 | def trace_python(self, script_file, python_file, optimize_python=None): |
| 78 | python_flags = [] |
| 79 | if optimize_python: |
| 80 | python_flags.extend(["-O"] * optimize_python) |
| 81 | subcommand = " ".join([sys.executable] + python_flags + [python_file]) |
| 82 | return self.trace(script_file, subcommand) |
| 83 | |
| 84 | def assert_usable(self): |
| 85 | try: |
Tested by
no test coverage detected