(benchmark)
| 27 | |
| 28 | |
| 29 | def test_split_collection_simple(benchmark): |
| 30 | given = benchmark(lambda: list(vobject.split_collection(_simple_joined))) |
| 31 | |
| 32 | assert [normalize_item(item) for item in given] == \ |
| 33 | [normalize_item(item) for item in _simple_split] |
| 34 | |
| 35 | assert [x.splitlines() for x in given] == \ |
| 36 | [x.splitlines() for x in _simple_split] |
| 37 | |
| 38 | |
| 39 | def test_split_collection_multiple_wrappers(benchmark): |
nothing calls this directly
no test coverage detected