From: Mike Bayer Date: Thu, 10 Aug 2017 19:44:54 +0000 (-0400) Subject: - take more print statements out, maybe this is not X-Git-Tag: origin~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3568e508d065d3ca9a17b11363249e8cf7c2a107;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - take more print statements out, maybe this is not the issue - unblock pytest-xdist now that the upstream issue is fixed, maybe this old version is the issue Change-Id: I28dd7ae0872948a188651d42e2f4af60bcbafe81 --- diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py index dfb4a49553..4409a9e968 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 diff --git a/tox.ini b/tox.ini index c094150e62..4b9e89132e 100644 --- a/tox.ini +++ b/tox.ini @@ -13,8 +13,8 @@ cov_args=--cov=sqlalchemy --cov-report term --cov-append --cov-report xml --excl usedevelop= cov: True -deps=pytest<=3.0.7 - pytest-xdist<=1.16.0 +deps=pytest + pytest-xdist mock # needed only for correct profiling results # due to speed improvements in psycopg2 as of 2.7