1. Pypy
  2. Untitled project
  3. pypy

Commits

Brian Kearns  committed 94270f9

fix broken imports in gc test_direct

  • Participants
  • Parent commits 271637e
  • Branches default

Comments (0)

Files changed (1)

File rpython/memory/gc/test/test_direct.py

View file
 from rpython.rtyper.lltypesystem import lltype, llmemory
 from rpython.memory.gctypelayout import TypeLayoutBuilder
 from rpython.rlib.rarithmetic import LONG_BIT, is_valid_int
-from rpython.memory.gc import incminimark
+from rpython.memory.gc import minimark, incminimark
 
 WORD = LONG_BIT // 8
 
     from rpython.memory.gc.incminimark import IncrementalMiniMarkGC as GCClass
 
     def test_write_barrier_marking_simple(self):
-        from rpython.memory.gc import incminimark
-
         for i in range(2):
             curobj = self.malloc(S)
             curobj.x = i