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