539681fffd
From now on, all new tests must use underscore. Addresses issue #727.
10 lines
145 B
Python
10 lines
145 B
Python
# Test calling non-special method inherited from native type
|
|
|
|
class mylist(list):
|
|
pass
|
|
|
|
l = mylist([1, 2, 3])
|
|
print(l)
|
|
l.append(10)
|
|
print(l)
|