def _assert_crumble_called_for(self, crumbler, items, any_order=False, attrs=None):
        crumbler.crumble.assert_has_calls([mock.call(item, attrs)
                                           for item in items], any_order=any_order)
        assert crumbler.crumble.call_count == len(items)
Adds a distance penalty of 1.0 if `value` doesn't match any
dataset/ETHPy150Open dropbox/changes/tests/changes/api/serializer/test_base.py/SerializeTest._assert_crumble_called_for--crossover with--dataset/ETHPy150Open beetbox/beets/beets/autotag/hooks.py/Distance.add_equality