diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-11-09 10:55:04 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-11-09 10:55:04 +0000 |
| commit | 4c9c9375422b1b4c67f5c3e172bcfd1c84af7c94 (patch) | |
| tree | 14cc1df98144349cc7ca6562ba12e97924d9b496 /libcxx/test | |
| parent | 8c58e92cd8ba0afea045c36b9b5b254b5b9e4810 (diff) | |
| download | bcm5719-llvm-4c9c9375422b1b4c67f5c3e172bcfd1c84af7c94.tar.gz bcm5719-llvm-4c9c9375422b1b4c67f5c3e172bcfd1c84af7c94.zip | |
Make check-libcxx Py3-compatible.
llvm-svn: 252458
Diffstat (limited to 'libcxx/test')
| -rw-r--r-- | libcxx/test/libcxx/test/tracing.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/test/libcxx/test/tracing.py b/libcxx/test/libcxx/test/tracing.py index efef158160c..766fc192f9f 100644 --- a/libcxx/test/libcxx/test/tracing.py +++ b/libcxx/test/libcxx/test/tracing.py @@ -11,14 +11,14 @@ def trace_function(function, log_calls, log_results, label=''): # Perform the call itself, logging before, after, and anything thrown. try: if log_calls: - print '{}: Calling {}'.format(label, call_str) + print('{}: Calling {}'.format(label, call_str)) res = function(*args, **kwargs) if log_results: - print '{}: {} -> {}'.format(label, call_str, res) + print('{}: {} -> {}'.format(label, call_str, res)) return res except Exception as ex: if log_results: - print '{}: {} raised {}'.format(label, call_str, type(ex)) + print('{}: {} raised {}'.format(label, call_str, type(ex))) raise ex return wrapper |

