summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-08-11 09:54:16 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-08-11 09:54:16 -0400
commitf1fd7f1e01bd9901fab7b5f33183e310bf0c0fd6 (patch)
treee43e4c5e2f24fa5a198ffe4e181c27d3d30e97aa
parent3568e508d065d3ca9a17b11363249e8cf7c2a107 (diff)
downloadsqlalchemy-f1fd7f1e01bd9901fab7b5f33183e310bf0c0fd6.tar.gz
- try adding the prints back in and re-test
Change-Id: I3a82b06ecc3c065240cc05871dee2881f20e414e
-rw-r--r--test/aaa_profiling/test_memusage.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py
index 4409a9e96..dfb4a4955 100644
--- a/test/aaa_profiling/test_memusage.py
+++ b/test/aaa_profiling/test_memusage.py
@@ -82,19 +82,19 @@ def profile_memory(maxtimes=250,
latest_max = max(samples[-5:])
if latest_max > max_:
- #print(
- # "Max grew from %s to %s, max has "
- # "grown for %s samples" % (
- # max_, latest_max, max_grew_for
- # )
- #)
+ print(
+ "Max grew from %s to %s, max has "
+ "grown for %s samples" % (
+ max_, latest_max, max_grew_for
+ )
+ )
max_ = latest_max
max_grew_for += 1
until_maxtimes += 1
continue
else:
- #print("Max remained at %s, %s more attempts left" %
- # (max_, max_grew_for))
+ print("Max remained at %s, %s more attempts left" %
+ (max_, max_grew_for))
max_grew_for -= 1
if max_grew_for == 0:
success = True