[svn r38302] Kill _dist_import_pypy

--HG--
branch : trunk
This commit is contained in:
fijal 2007-02-09 19:33:00 +01:00
parent 30608ea412
commit 0d6d17dc96
4 changed files with 0 additions and 10 deletions

View File

@ -24,7 +24,6 @@ if hasattr(py.std.os, 'nice'):
dist_nicelevel = py.std.os.nice(0) # nice py.test works
else:
dist_nicelevel = 0
_dist_import_pypy = False # used for regenerating JS application
dist_rsync_ignore = []
# ===================================================

View File

@ -13,8 +13,6 @@ except ImportError:
py.test.skip("PyPy not found")
def setup_module(mod):
config = py.test.config._reparse([])
config._overwrite('_dist_import_pypy', True)
from py.__.test.rsession.web import TestHandler as _TestHandler
from py.__.test.rsession.web import MultiQueue
mod._TestHandler = _TestHandler

View File

@ -21,8 +21,6 @@ def setup_module(mod):
mod.dom = dom
dom.window = dom.Window(html)
dom.document = dom.window.document
config = py.test.config._reparse([])
config._overwrite('_dist_import_pypy', True)
from py.__.test.rsession import webjs
from py.__.test.rsession.web import exported_methods
mod.webjs = webjs

View File

@ -24,11 +24,6 @@ FUNCTION_LIST = ["main", "show_skip", "show_traceback", "show_info", "hide_info"
"show_host", "hide_host", "hide_messagebox", "opt_scroll"]
try:
try:
if not py.test.config.getvalue('_dist_import_pypy'):
raise ImportError
except AttributeError:
pass
from pypy.rpython.ootypesystem.bltregistry import MethodDesc, BasicExternal,\
described
from pypy.translator.js.main import rpython2javascript