@@ -58,8 +58,7 @@ def testSyntaxForManyArguments(self):
5858 fundef = "def f(*, %s):\n pass\n " % ', ' .join ('i%d' % i for i in range (300 ))
5959 compile (fundef , "<test>" , "single" )
6060
61- # TODO: RUSTPYTHON
62- @unittest .expectedFailure
61+ @unittest .expectedFailure # TODO: RUSTPYTHON
6362 def testTooManyPositionalErrorMessage (self ):
6463 def f (a , b = None , * , c = None ):
6564 pass
@@ -158,8 +157,7 @@ def test_issue13343(self):
158157 # used to fail with a SystemError.
159158 lambda * , k1 = unittest : None
160159
161- # TODO: RUSTPYTHON
162- @unittest .expectedFailure
160+ @unittest .expectedFailure # TODO: RUSTPYTHON
163161 def test_mangling (self ):
164162 class X :
165163 def f (self , * , __a = 42 ):
@@ -174,7 +172,7 @@ def f(v=a, x=b, *, y=c, z=d):
174172 pass
175173 self .assertEqual (str (err .exception ), "name 'b' is not defined" )
176174 with self .assertRaises (NameError ) as err :
177- f = lambda v = a , x = b , * , y = c , z = d : None
175+ g = lambda v = a , x = b , * , y = c , z = d : None
178176 self .assertEqual (str (err .exception ), "name 'b' is not defined" )
179177
180178
0 commit comments