def test_param_endings():
 sig = Script('def x(a, b=5, c=""): pass\n x(').call_signatures()[0]
 assert ([p.description for p in sig.params] == ['a', 'b=5', 'c=""'])

def test_param_endings ( ) : sig = Script ( 'def x(a, b=5, c=""): pass\n x(' ) . call_signatures ( ) [ 0 ] assert ( [ p . description for p in sig . params ] == [ 'a' , 'b=5' , 'c=""' ] )
params should be represented without the comma and whitespace they have around them .