[pypy-svn] r29198 - pypy/dist/pypy/translator/js/modules/test

fijal at codespeak.net fijal at codespeak.net
Fri Jun 23 10:42:24 CEST 2006


Author: fijal
Date: Fri Jun 23 10:42:23 2006
New Revision: 29198

Modified:
   pypy/dist/pypy/translator/js/modules/test/test_xmlhttp.py
Log:
Browser check.


Modified: pypy/dist/pypy/translator/js/modules/test/test_xmlhttp.py
==============================================================================
--- pypy/dist/pypy/translator/js/modules/test/test_xmlhttp.py	(original)
+++ pypy/dist/pypy/translator/js/modules/test/test_xmlhttp.py	Fri Jun 23 10:42:23 2006
@@ -2,6 +2,12 @@
 """ xmlhttp proxy test
 """
 
+import py
+from pypy import conftest
+
+if not conftest.option.browser or not conftest.option.tg:
+    py.test.skip("Works only in browser and with turbogears")
+
 from pypy.translator.js.demo.jsdemo.proxy import ProxyRootInstance, ProxyRoot
 from pypy.translator.js.test.runtest import compile_function
 



More information about the Pypy-commit mailing list