File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -185,8 +185,7 @@ def test_lambda_position(self):
185185 # Argument position
186186 self .assertEqual (self .repl .argspec [3 ], 1 )
187187
188- def test_name_in_assignment_without_spaces (self ):
189- # Issue #127
188+ def test_issue127 (self ):
190189 self .setInputLine ("x=range(" )
191190 self .assertTrue (self .repl .get_args ())
192191 self .assertEqual (self .repl .current_func .__name__ , "range" )
@@ -198,6 +197,9 @@ def test_name_in_assignment_without_spaces(self):
198197 self .setInputLine ("foo(1, 2, x,range(" )
199198 self .assertEqual (self .repl .current_func .__name__ , "range" )
200199
200+ self .setInputLine ("(x,range(" )
201+ self .assertEqual (self .repl .current_func .__name__ , "range" )
202+
201203 def test_nonexistent_name (self ):
202204 self .setInputLine ("spamspamspam(" )
203205 self .assertFalse (self .repl .get_args ())
You can’t perform that action at this time.
0 commit comments