Example #1
0
    def test_no_variadic_dec(self):
        def f():
            pass

        self.assertFalse(isvariadic(f))
Example #2
0
    def test_variadic_dec(self):
        @variadic
        def f():
            pass

        self.assertTrue(isvariadic(f))