(assertion, source, target=None)
| 162 | pass |
| 163 | |
| 164 | def test_pickle_dump_load(assertion, source, target=None): |
| 165 | if target is None: |
| 166 | target = source |
| 167 | for protocol in range(HIGHEST_PROTOCOL + 1): |
| 168 | assertion(loads(dumps(source, protocol=protocol)), target) |
| 169 | |
| 170 | def test_pickle_exception(assertion, exception, obj): |
| 171 | for protocol in range(HIGHEST_PROTOCOL + 1): |
no test coverage detected
searching dependent graphs…