2023-05-14 12:57:24 +08:00

11 lines
198 B
Python

class TestProxy:
def __proxy__(self, name, value):
return name, value
test = TestProxy()
name, value = test.function1(123)
assert name == 'function1'
assert value == 123
print('PASS')