3
from pypy.translator.js.test.runtest import JsTest
4
from pypy.rpython.test.test_rpbc import BaseTestRPBC
6
class TestJsPBC(JsTest, BaseTestRPBC):
7
def test_single_pbc_getattr(self):
9
def __init__(self, v1, v2):
14
c1 = C(11, lambda: "hello")
15
c2 = C(22, lambda: 623)
26
return f2(c1)(), f3(c2)()
28
res = self.interpret(g, [])
29
assert res[0] == "hello"
32
def test_call_memoized_function_with_bools(self):
35
def test_conv_from_None(self):