(self)
| 11 | assert x.humanize() |
| 12 | |
| 13 | def test_pickleable(self): |
| 14 | x = Retry('foo', KeyError(), when=datetime.now(timezone.utc)) |
| 15 | y = pickle.loads(pickle.dumps(x)) |
| 16 | assert x.message == y.message |
| 17 | assert repr(x.exc) == repr(y.exc) |
| 18 | assert x.when == y.when |
| 19 | |
| 20 | |
| 21 | class test_Reject: |