@@ -93,7 +93,7 @@ def test_replace_placeholder_in_method_args(self):
9393 assert isinstance (tree , j .MethodInvocation )
9494
9595 result = TemplateEngine .apply_substitutions (
96- tree , {'expr' : self ._ident ("hello" )}, cursor = None ,
96+ tree , {'expr' : self ._ident ("hello" )},
9797 )
9898
9999 assert isinstance (result , j .MethodInvocation )
@@ -111,7 +111,7 @@ def test_replace_placeholder_in_method_select(self):
111111 assert isinstance (tree , j .MethodInvocation )
112112
113113 result = TemplateEngine .apply_substitutions (
114- tree , {'obj' : self ._ident ("myobj" )}, cursor = None ,
114+ tree , {'obj' : self ._ident ("myobj" )},
115115 )
116116
117117 assert isinstance (result , j .MethodInvocation )
@@ -128,7 +128,7 @@ def test_replace_multiple_placeholders(self):
128128 assert isinstance (tree , j .Binary )
129129
130130 result = TemplateEngine .apply_substitutions (
131- tree , {'a' : self ._ident ("x" ), 'b' : self ._ident ("y" )}, cursor = None ,
131+ tree , {'a' : self ._ident ("x" ), 'b' : self ._ident ("y" )},
132132 )
133133
134134 assert isinstance (result , j .Binary )
0 commit comments