Exemplo n.º 1
0
 def test_BaseException(self):
     self.assertTrue(fnpe(Exception()) is None)
Exemplo n.º 2
0
 def test_unpickleable(self):
     self.assertTrue(isinstance(fnpe(Unpickleable()), KeyError))
     self.assertEquals(fnpe(Impossible()), None)
Exemplo n.º 3
0
 def test_oldstyle(self):
     self.assertTrue(fnpe(Oldstyle()) is None)