@@ -547,7 +547,7 @@ def test_call_func_and_star_argspython35(self):
547547 ast_frag = patchedast .get_patched_ast (source , True )
548548 checker = _ResultChecker (self , ast_frag )
549549 checker .check_children (
550- "Call" , ["Name" , "" , "(" , "" , "Num" , "" , "," , " * " , "Starred" , "" , ")" ]
550+ "Call" , ["Name" , "" , "(" , "" , "Num" , "" , "," , " " , "Starred" , "" , ")" ]
551551 )
552552
553553 @testutils .only_for_versions_lower ("3.5" )
@@ -561,7 +561,7 @@ def test_call_func_and_only_dstar_args_python35(self):
561561 source = "f(**kwds)\n "
562562 ast_frag = patchedast .get_patched_ast (source , True )
563563 checker = _ResultChecker (self , ast_frag )
564- checker .check_children ("Call" , ["Name" , "" , "(" , "** " , "keyword" , "" , ")" ])
564+ checker .check_children ("Call" , ["Name" , "" , "(" , "" , "keyword" , "" , ")" ])
565565
566566 @testutils .only_for_versions_lower ("3.5" )
567567 def test_call_func_and_both_varargs_and_kwargs (self ):
@@ -579,7 +579,7 @@ def test_call_func_and_both_varargs_and_kwargs_python35(self):
579579 checker = _ResultChecker (self , ast_frag )
580580 checker .check_children (
581581 "Call" ,
582- ["Name" , "" , "(" , "* " , "Starred" , "" , "," , " ** " , "keyword" , "" , ")" ],
582+ ["Name" , "" , "(" , "" , "Starred" , "" , "," , " " , "keyword" , "" , ")" ],
583583 )
584584
585585 def test_class_node (self ):
@@ -1379,7 +1379,7 @@ def test_starargs_before_keywords(self):
13791379 ast_frag = patchedast .get_patched_ast (source , True )
13801380 checker = _ResultChecker (self , ast_frag )
13811381 checker .check_children (
1382- "Call" , ["Name" , "" , "(" , "* " , "Starred" , "" , "," , " " , "keyword" , "" , ")" ]
1382+ "Call" , ["Name" , "" , "(" , "" , "Starred" , "" , "," , " " , "keyword" , "" , ")" ]
13831383 )
13841384
13851385 def test_starargs_in_keywords (self ):
@@ -1388,7 +1388,7 @@ def test_starargs_in_keywords(self):
13881388 checker = _ResultChecker (self , ast_frag )
13891389 checker .check_children (
13901390 "Call" ,
1391- ["Name" , "" , "(" , "" , "keyword" , "" , "," , " * " , "Starred" , "" , "," , " " , "keyword" , "" , ")" ],
1391+ ["Name" , "" , "(" , "" , "keyword" , "" , "," , " " , "Starred" , "" , "," , " " , "keyword" , "" , ")" ],
13921392 )
13931393
13941394 def test_starargs_in_positional (self ):
@@ -1397,15 +1397,15 @@ def test_starargs_in_positional(self):
13971397 checker = _ResultChecker (self , ast_frag )
13981398 checker .check_children (
13991399 "Call" ,
1400- ["Name" , "" , "(" , "" , "Name" , "" , "," , " * " , "Starred" , "" , "," , " " , "Name" , "" , ")" ],
1400+ ["Name" , "" , "(" , "" , "Name" , "" , "," , " " , "Starred" , "" , "," , " " , "Name" , "" , ")" ],
14011401 )
14021402
14031403 def test_starargs_after_keywords (self ):
14041404 source = "foo(a=1, *args)\n "
14051405 ast_frag = patchedast .get_patched_ast (source , True )
14061406 checker = _ResultChecker (self , ast_frag )
14071407 checker .check_children (
1408- "Call" , ["Name" , "" , "(" , "" , "keyword" , "" , "," , " * " , "Starred" , "" , ")" ]
1408+ "Call" , ["Name" , "" , "(" , "" , "keyword" , "" , "," , " " , "Starred" , "" , ")" ]
14091409 )
14101410
14111411 @testutils .only_for_versions_higher ("3.5" )
0 commit comments