]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- take more print statements out, maybe this is not
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Aug 2017 19:44:54 +0000 (15:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Aug 2017 19:46:37 +0000 (15:46 -0400)
the issue
- unblock pytest-xdist now that the upstream issue is fixed,
maybe this old version is the issue

Change-Id: I28dd7ae0872948a188651d42e2f4af60bcbafe81

test/aaa_profiling/test_memusage.py
tox.ini

index dfb4a495532e879add04adf4604277adb1e2b9b7..4409a9e968422af3ecd0a51b8cec13367ff5fc4f 100644 (file)
@@ -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 c094150e626127062df2c731c759f95049a709ae..4b9e89132e40c89e57d6c391d7c255e8c1c919c9 100644 (file)
--- 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