[pypy-commit] pypy default: fix the test to match 432d816c6d7b

arigo pypy.commits at gmail.com
Sat Jan 19 12:06:32 EST 2019


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r95673:de85e0ef8bdc
Date: 2019-01-19 18:06 +0100
http://bitbucket.org/pypy/pypy/changeset/de85e0ef8bdc/

Log:	fix the test to match 432d816c6d7b

diff --git a/rpython/memory/gc/test/test_direct.py b/rpython/memory/gc/test/test_direct.py
--- a/rpython/memory/gc/test/test_direct.py
+++ b/rpython/memory/gc/test/test_direct.py
@@ -774,7 +774,7 @@
     def test_collect_0(self, debuglog):
         self.gc.collect(1) # start a major
         debuglog.reset()
-        self.gc.collect(0) # do ONLY a minor
+        self.gc.collect(-1) # do ONLY a minor
         assert debuglog.summary() == {'gc-minor': 1}
 
     def test_enable_disable(self, debuglog):


More information about the pypy-commit mailing list