def parametric(func):
<EOL>func._generator = True<EOL>class Tester(ParametricTestCase):<EOL><INDENT>test = staticmethod(func)<EOL><DEDENT>Tester.__name__ = func.__name__<EOL>return Tester<EOL>
Decorator to make a simple function into a normal test via
 unittest.