``pytest.mark.parametrize`` supports iterators and generators for ``ids``.