blob: 9fb6920c3f0b9d65e1b512a94a95bacc253839fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import overload_extend
f = overload_extend.Foo()
if f.test(3) != 1:
raise RuntimeError
if f.test("hello") != 2:
raise RuntimeError
if f.test(3.5,2.5) != 3:
raise RuntimeError
|