projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
10383: Fix for making arv-keep-get tests pass.
[arvados.git]
/
sdk
/
python
/
tests
/
performance
/
performance_profiler.py
diff --git
a/sdk/python/tests/performance/performance_profiler.py
b/sdk/python/tests/performance/performance_profiler.py
index a36ce254dd17797970121905db77d55f59f088f5..afa53ae73c0d2eb5231054889eedbcc3563c202d 100644
(file)
--- a/
sdk/python/tests/performance/performance_profiler.py
+++ b/
sdk/python/tests/performance/performance_profiler.py
@@
-42,8
+42,8
@@
def profiled(function):
caught = e
pr.disable()
ps = pstats.Stats(pr, stream=outfile)
caught = e
pr.disable()
ps = pstats.Stats(pr, stream=outfile)
- ps.print_stats()
+ ps.
sort_stats('time').
print_stats()
if caught:
if caught:
- raise
caught
+ raise
return ret
return profiled_function
return ret
return profiled_function