@@ -340,7 +340,8 @@ class X:
340340 support .gc_collect ()
341341 self .assertIsNone (ref ())
342342
343- @unittest .skip ("TODO: RUSTPYTHON, thread 'main' panicked at 'not implemented: async for comprehensions'" )
343+ # TODO: RUSTPYTHON
344+ @unittest .expectedFailure
344345 def test_snippets (self ):
345346 for input , output , kind in ((exec_tests , exec_results , "exec" ),
346347 (single_tests , single_results , "single" ),
@@ -353,15 +354,17 @@ def test_snippets(self):
353354 with self .subTest (action = "compiling" , input = i , kind = kind ):
354355 compile (ast_tree , "?" , kind )
355356
356- @unittest .skip ("TODO: RUSTPYTHON, thread 'main' panicked at 'not implemented: async for comprehensions'" )
357+ # TODO: RUSTPYTHON
358+ @unittest .expectedFailure
357359 def test_ast_validation (self ):
358360 # compile() is the only function that calls PyAST_Validate
359361 snippets_to_validate = exec_tests + single_tests + eval_tests
360362 for snippet in snippets_to_validate :
361363 tree = ast .parse (snippet )
362364 compile (tree , '<string>' , 'exec' )
363365
364- @unittest .skip ("TODO: RUSTPYTHON, OverflowError: Python int too large to convert to Rust u32" )
366+ # TODO: RUSTPYTHON
367+ @unittest .expectedFailure
365368 def test_invalid_position_information (self ):
366369 invalid_linenos = [
367370 (10 , 1 ), (- 10 , - 11 ), (10 , - 11 ), (- 5 , - 2 ), (- 5 , 1 )
0 commit comments