[svn r38302] Kill _dist_import_pypy
--HG-- branch : trunk
This commit is contained in:
parent
30608ea412
commit
0d6d17dc96
|
@ -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 = []
|
||||
|
||||
# ===================================================
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue