[pypy-svn] r39179 - in pypy/dist/pypy/lang/js: . test/ecma
santagada at codespeak.net
santagada at codespeak.net
Sun Feb 18 20:02:53 CET 2007
Author: santagada
Date: Sun Feb 18 20:02:51 2007
New Revision: 39179
Modified:
pypy/dist/pypy/lang/js/jsobj.py
pypy/dist/pypy/lang/js/test/ecma/conftest.py
Log:
trying to get it to work
Modified: pypy/dist/pypy/lang/js/jsobj.py
==============================================================================
--- pypy/dist/pypy/lang/js/jsobj.py (original)
+++ pypy/dist/pypy/lang/js/jsobj.py Sun Feb 18 20:02:51 2007
@@ -5,18 +5,20 @@
class SeePage(NotImplementedError):
pass
-class ExecutionReturned(Exception):
+class JsBaseExcept(Exception): pass
+
+class ExecutionReturned(JsBaseExcept):
def __init__(self, type='normal', value=None, identifier=None):
self.type = type
self.value = value
self.identifier = identifier
-class ThrowException(Exception):
+class ThrowException(JsBaseExcept):
def __init__(self, exception):
self.exception = exception
self.args = self.exception
-class JsTypeError(Exception):
+class JsTypeError(JsBaseExcept):
pass
Infinity = 1e300 * 1e300
Modified: pypy/dist/pypy/lang/js/test/ecma/conftest.py
==============================================================================
--- pypy/dist/pypy/lang/js/test/ecma/conftest.py (original)
+++ pypy/dist/pypy/lang/js/test/ecma/conftest.py Sun Feb 18 20:02:51 2007
@@ -61,7 +61,11 @@
def __init__(self, name, parent=None):
#super(JSTestItem, self).__init__(filepath, parent)
self.name = name
-
+ self.parent = parent
+
+ def startcapture(self): pass
+ def stopcapture(self): pass
+
def run():
ctx = JSTestFile.interp.global_context
r3 = ctx.resolve_identifier('run_test').GetValue()
More information about the Pypy-commit
mailing list