Fix a bad mistake
This commit is contained in:
parent
4359316b10
commit
a2f0859ac3
@ -192,6 +192,8 @@ class EosObject(metaclass=EosObjectType):
|
|||||||
|
|
||||||
class EosList(EosObject):
|
class EosList(EosObject):
|
||||||
def __init__(self, *args):
|
def __init__(self, *args):
|
||||||
|
super().__init__()
|
||||||
|
|
||||||
self.impl = list(*args)
|
self.impl = list(*args)
|
||||||
|
|
||||||
# Lists in JS are implemented as native Arrays, so no cheating here :(
|
# Lists in JS are implemented as native Arrays, so no cheating here :(
|
||||||
|
@ -42,8 +42,10 @@ class EosTestCase:
|
|||||||
|
|
||||||
def py_only(func):
|
def py_only(func):
|
||||||
func._py_only = True
|
func._py_only = True
|
||||||
|
return func
|
||||||
def js_only(func):
|
def js_only(func):
|
||||||
func._js_only = True
|
func._js_only = True
|
||||||
|
return func
|
||||||
|
|
||||||
# eos.core tests
|
# eos.core tests
|
||||||
# ==============
|
# ==============
|
||||||
|
Loading…
Reference in New Issue
Block a user