#NEWLINE# def test_class_call_signature( ) : #NEWLINE# #INDENT# defs = Script ( "\n    class Foo:\n        def __init__(self, x, y=1, z='a'):\n            pass\n    Foo" ) . goto_definitions ( ) #NEWLINE# doc = defs [ 0 ] . doc #NEWLINE# assert ( "Foo(self, x, y=1, z='a')" in str ( doc ) )