[py-svn] r37033 - py/dist/py/test/rsession/testing

cfbolz at codespeak.net cfbolz at codespeak.net
Fri Jan 19 18:55:49 CET 2007


Author: cfbolz
Date: Fri Jan 19 18:55:47 2007
New Revision: 37033

Modified:
   py/dist/py/test/rsession/testing/test_webjs.py
Log:
do all the imports there, to skip if e.g. pypy is found, but not ctypes


Modified: py/dist/py/test/rsession/testing/test_webjs.py
==============================================================================
--- py/dist/py/test/rsession/testing/test_webjs.py	(original)
+++ py/dist/py/test/rsession/testing/test_webjs.py	Fri Jan 19 18:55:47 2007
@@ -1,10 +1,17 @@
 import py
 try:
     import pypy
+    from pypy.translator.js.modules import dom
+    from py.__.test.rsession.rsession import session_options
+    from py.__.test.rsession.rsession import session_options
+    from py.__.test.rsession import webjs
+    from py.__.test.rsession.web import exported_methods
+    from pypy.translator.js.tester import schedule_callbacks
 except ImportError:
     py.test.skip('PyPy not found')
 
-from pypy.translator.js.tester import schedule_callbacks
+    from py.__.test.rsession import webjs
+    from py.__.test.rsession.web import exported_methods
 here = py.magic.autopath().dirpath()
 
 def setup_module(mod):


More information about the py-svn mailing list