Commit c9633101 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Add test for calling inherited native method on subclass.

parent 7f0419c0
# 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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment