File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -357,13 +357,17 @@ def func():
357
357
new_code = code = func .__code__ .replace (co_linetable = b'' )
358
358
self .assertEqual (list (new_code .co_lines ()), [])
359
359
360
+ # TODO: RUSTPYTHON
361
+ @unittest .expectedFailure
360
362
def test_co_lnotab_is_deprecated (self ): # TODO: remove in 3.14
361
363
def func ():
362
364
pass
363
365
364
366
with self .assertWarns (DeprecationWarning ):
365
367
func .__code__ .co_lnotab
366
368
369
+ # TODO: RUSTPYTHON
370
+ @unittest .expectedFailure
367
371
def test_invalid_bytecode (self ):
368
372
def foo ():
369
373
pass
@@ -520,6 +524,8 @@ def test_code_hash_uses_order(self):
520
524
self .assertNotEqual (c , swapped )
521
525
self .assertNotEqual (hash (c ), hash (swapped ))
522
526
527
+ # TODO: RUSTPYTHON
528
+ @unittest .expectedFailure
523
529
def test_code_hash_uses_bytecode (self ):
524
530
c = (lambda x , y : x + y ).__code__
525
531
d = (lambda x , y : x * y ).__code__
You can’t perform that action at this time.
0 commit comments