1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / rpython / translator / backendopt / test / test_finalizer.py

Diff from to

File rpython/translator/backendopt/test/test_finalizer.py

  • Ignore whitespace
 from rpython.translator.backendopt.all import backend_optimizations
 from rpython.translator.unsimplify import varoftype
 from rpython.rtyper.lltypesystem import lltype, rffi
-from rpython.conftest import option
 from rpython.rlib import rgc
 
 
         t.buildrtyper(type_system=self.type_system).specialize()
         if backendopt:
             backend_optimizations(t)
-        if option.view:
+        if py.test.config.option.view:
             t.view()
         a = FinalizerAnalyzer(t)
         fgraph = graphof(t, func_to_analyze)