Conditions | 2 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # coding: utf8 |
||
39 | def test_return_value(self): |
||
40 | with self.assertRaises(pickle.PicklingError): |
||
41 | # DO NOT use self._action(return_value=unpicklable) |
||
42 | # because the *Action* would be unpicklable and we're testing what happens |
||
43 | # when the *return value* is unpicklable |
||
44 | execute(UnpicklableReturnValue("x")) |
||
45 | |||
52 |