()
| 1479 | |
| 1480 | |
| 1481 | def test_normalize_pickle(): |
| 1482 | a = APickleable() |
| 1483 | tokenize(a) |
| 1484 | # We're pickling multiple times because pickle is caching things on |
| 1485 | # instances such that subsequent pickles can yield different results. |
| 1486 | # For a trivial object like this, this should only happen twice |
| 1487 | assert APickleable.counter <= 2 |
| 1488 | |
| 1489 | |
| 1490 | def test_tokenize_recursive_respects_ensure_deterministic(): |
nothing calls this directly
no test coverage detected