示例#1
0
 def test_singledispatch1(self):
     if hasattr(functools, 'singledispatch'):
         with assertRaises(RuntimeError):
             doc.singledispatch_example1()
示例#2
0
 def test_singledispatch1(self):
     with assertRaises(RuntimeError):
         doc.singledispatch_example1()