summaryrefslogtreecommitdiff
path: root/test/perf
diff options
context:
space:
mode:
Diffstat (limited to 'test/perf')
-rw-r--r--test/perf/orm2010.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/perf/orm2010.py b/test/perf/orm2010.py
index de467cfd7..61b4e9b89 100644
--- a/test/perf/orm2010.py
+++ b/test/perf/orm2010.py
@@ -143,9 +143,7 @@ def run_with_profile(runsnake=False, dump=False):
)
stats = pstats.Stats(filename)
- counts_by_methname = dict(
- (key[2], stats.stats[key][0]) for key in stats.stats
- )
+ counts_by_methname = {key[2]: stats.stats[key][0] for key in stats.stats}
print("SQLA Version: %s" % __version__)
print("Total calls %d" % stats.total_calls)