checkskip function for test generators

helps deal with parametrization that yields no params, warns in that case