1# Test calling non-special method inherited from native type
2
3class mytuple(tuple):
4 pass
5
6t = mytuple((1, 2, 3))
7print(t)
8print(t == (1, 2, 3))
9print((1, 2, 3) == t)
10
11print(t < (1, 2, 3), t < (1, 2, 4))
12print((1, 2, 3) <= t, (1, 2, 4) < t)
13