def test_strsigargh(): argspec = [['a', ['b','c']], None, None, ()] assert html.signature(argspec) == 'a, (b, c)'
def test_strsig(): argspec = [['a', 'b', 'c'], None, None, (1,2)] assert html.signature(argspec) == "a, b=1, c=2"
def test_strsigargh(): argspec = [["a", ["b", "c"]], None, None, ()] assert html.signature(argspec) == "a, (b, c)"
def test_strsigvar(): argspec = [['a', 'b', 'c'], 'args', 'kk', (1,2)] assert html.signature(argspec) == "a, *args, b=1, c=2, **kk"
def test_strsigvar(): argspec = [["a", "b", "c"], "args", "kk", (1, 2)] assert html.signature(argspec) == "a, *args, b=1, c=2, **kk"
def test_strsig(): argspec = [["a", "b", "c"], None, None, (1, 2)] assert html.signature(argspec) == "a, b=1, c=2"
def test_strsigargh(): argspec = [['a', ['b', 'c']], None, None, ()] assert html.signature(argspec) == 'a, (b, c)'
def test_strsigvar(): argspec = [['a', 'b', 'c'], 'args', 'kk', (1, 2)] assert html.signature(argspec) == "a, *args, b=1, c=2, **kk"
def test_strsig(): argspec = [['a', 'b', 'c'], None, None, (1, 2)] assert html.signature(argspec) == "a, b=1, c=2"