2023-07-06 23:09:49 +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')