Ejemplo n.º 1
0
def test_help_is_not_crashing1():
    some_code = "ax + (z * 4)"
    red = RedBaron(some_code)
    red.help()
    red[0].help()
    red.help(5)
    red[0].help(5)
    red.help(True)
    red[0].help(True)
Ejemplo n.º 2
0
def test_help_is_not_crashing3():
    some_code = "a(b, c)"
    red = RedBaron(some_code)
    red.help()
    red[0].help()
    red.help(5)
    red[0].help(5)
    red.help(True)
    red[0].help(True)
Ejemplo n.º 3
0
def test_help_is_not_crashing4():
    some_code = "a(b)"
    red = RedBaron(some_code)
    red[0].call.append("c")
    red.help()
    red[0].help()
    red.help(5)
    red[0].help(5)
    red.help(True)
    red[0].help(True)
Ejemplo n.º 4
0
def test_help_is_not_crashing():
    some_code = "ax + (z * 4)"
    red = RedBaron(some_code)
    red.help()
    red[0].help()