def test_no_variadic_dec(self): def f(): pass self.assertFalse(isvariadic(f))
def test_variadic_dec(self): @variadic def f(): pass self.assertTrue(isvariadic(f))