Conditions | 2 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # coding: utf8 |
||
46 | def test_exception(self): |
||
47 | with self.assertRaises(pickle.PicklingError): |
||
48 | # DO NOT use self._action(return_value=unpicklable) |
||
49 | # because the *Action* would be unpicklable and we're testing what happens |
||
50 | # when the *exception* is unpicklable |
||
51 | execute(UnpicklableException("x")) |
||
52 |