Commits

Anders Chrigström  committed a58b1e1

Allow --compiler option to py.test for compliance tests.

  • Participants
  • Parent commits 6a7b3b2

Comments (0)

Files changed (1)

File lib-python/conftest.py

         self._oldstyle = oldstyle 
         self._uselibfile = uselibfile
         self._usemodules = usemodules.split()
-        self.compiler = compiler 
+        self._compiler = compiler 
         self.core = core
 
     def oldstyle(self): 
         return self._usemodules + pypy_option.usemodules
     usemodules = property(usemodules)
 
+    def compiler(self): 
+        return self._compiler or pypy_option.compiler 
+    compiler = property(compiler)
+
     def getoptions(self): 
         l = []
         for name in 'oldstyle', 'core', 'uselibfile':