@@ -288,6 +288,7 @@ class X:
288
288
support .gc_collect ()
289
289
self .assertIsNone (ref ())
290
290
291
+ @unittest .skip ("TODO: RUSTPYTHON, thread 'main' panicked at 'not implemented: async for comprehensions'" )
291
292
def test_snippets (self ):
292
293
for input , output , kind in ((exec_tests , exec_results , "exec" ),
293
294
(single_tests , single_results , "single" ),
@@ -300,6 +301,7 @@ def test_snippets(self):
300
301
with self .subTest (action = "compiling" , input = i , kind = kind ):
301
302
compile (ast_tree , "?" , kind )
302
303
304
+ @unittest .skip ("TODO: RUSTPYTHON, thread 'main' panicked at 'not implemented: async for comprehensions'" )
303
305
def test_ast_validation (self ):
304
306
# compile() is the only function that calls PyAST_Validate
305
307
snippets_to_validate = exec_tests + single_tests + eval_tests
@@ -1147,6 +1149,7 @@ def test_expr(self):
1147
1149
e = ast .Expr (ast .Name ("x" , ast .Store ()))
1148
1150
self .stmt (e , "must have Load context" )
1149
1151
1152
+ @unittest .skip ("TODO: RUSTPYTHON, thread 'main' panicked at 'called `Option::unwrap()` on a `None` value'" )
1150
1153
def test_boolop (self ):
1151
1154
b = ast .BoolOp (ast .And (), [])
1152
1155
self .expr (b , "less than 2 values" )
@@ -1238,6 +1241,7 @@ def test_yield(self):
1238
1241
self .expr (ast .Yield (ast .Name ("x" , ast .Store ())), "must have Load" )
1239
1242
self .expr (ast .YieldFrom (ast .Name ("x" , ast .Store ())), "must have Load" )
1240
1243
1244
+ @unittest .skip ("TODO: RUSTPYTHON, thread 'main' panicked at 'assertion failed: `(left == right)` left: `0`, right: `1`'" )
1241
1245
def test_compare (self ):
1242
1246
left = ast .Name ("x" , ast .Load ())
1243
1247
comp = ast .Compare (left , [ast .In ()], [])
0 commit comments