@@ -171,22 +171,22 @@ def test_syntax_error_parens(self):
171171 def test_kw_arg_position (self ):
172172 self .set_input_line ("spam(a=0" )
173173 self .assertTrue (self .repl .get_args ())
174- self .assertEqual (self .repl .argspec [ 3 ] , "a" )
174+ self .assertEqual (self .repl .arg_pos , "a" )
175175
176176 self .set_input_line ("spam(1, b=1" )
177177 self .assertTrue (self .repl .get_args ())
178- self .assertEqual (self .repl .argspec [ 3 ] , "b" )
178+ self .assertEqual (self .repl .arg_pos , "b" )
179179
180180 self .set_input_line ("spam(1, c=2" )
181181 self .assertTrue (self .repl .get_args ())
182- self .assertEqual (self .repl .argspec [ 3 ] , "c" )
182+ self .assertEqual (self .repl .arg_pos , "c" )
183183
184184 def test_lambda_position (self ):
185185 self .set_input_line ("spam(lambda a, b: 1, " )
186186 self .assertTrue (self .repl .get_args ())
187- self .assertTrue (self .repl .argspec )
187+ self .assertTrue (self .repl .funcprops )
188188 # Argument position
189- self .assertEqual (self .repl .argspec [ 3 ] , 1 )
189+ self .assertEqual (self .repl .arg_pos , 1 )
190190
191191 def test_issue127 (self ):
192192 self .set_input_line ("x=range(" )
@@ -428,7 +428,7 @@ def test_simple_tab_complete(self):
428428 self .repl .print_line = mock .Mock ()
429429 self .repl .matches_iter .is_cseq .return_value = False
430430 self .repl .show_list = mock .Mock ()
431- self .repl .argspec = mock .Mock ()
431+ self .repl .funcprops = mock .Mock ()
432432 self .repl .matches_iter .cur_line .return_value = (None , "foobar" )
433433
434434 self .repl .s = "foo"
@@ -471,7 +471,7 @@ def test_back_parameter(self):
471471 self .repl .matches_iter .previous .return_value = "previtem"
472472 self .repl .matches_iter .is_cseq .return_value = False
473473 self .repl .show_list = mock .Mock ()
474- self .repl .argspec = mock .Mock ()
474+ self .repl .funcprops = mock .Mock ()
475475 self .repl .matches_iter .cur_line .return_value = (None , "previtem" )
476476 self .repl .print_line = mock .Mock ()
477477 self .repl .s = "foo"
0 commit comments