Author: Armin Rigo <[email protected]>
Branch:
Changeset: r83854:eb8a73f89d3d
Date: 2016-04-25 12:06 +0200
http://bitbucket.org/pypy/pypy/changeset/eb8a73f89d3d/
Log: More test fixes after 490058ea54e6
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
@@ -617,7 +617,7 @@
oldhdr = self.gc.header(llmemory.cast_ptr_to_adr(oldobj))
assert oldhdr.tid & incminimark.GCFLAG_VISITED == 0
- self.gc.minor_collection()
+ self.gc._minor_collection()
self.gc.visit_all_objects_step(1)
assert oldhdr.tid & incminimark.GCFLAG_VISITED
@@ -628,7 +628,7 @@
assert
self.gc.header(self.gc.old_objects_pointing_to_young.tolist()[0]) == oldhdr
- self.gc.minor_collection()
+ self.gc._minor_collection()
self.gc.debug_check_consistency()
def test_sweeping_simple(self):
diff --git a/rpython/memory/gc/test/test_rawrefcount.py
b/rpython/memory/gc/test/test_rawrefcount.py
--- a/rpython/memory/gc/test/test_rawrefcount.py
+++ b/rpython/memory/gc/test/test_rawrefcount.py
@@ -22,7 +22,7 @@
if major:
self.gc.collect()
else:
- self.gc.minor_collection()
+ self.gc._minor_collection()
count1 = len(self.trigger)
self.gc.rrc_invoke_callback()
count2 = len(self.trigger)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit