Skip to content

Commit eb6b1fa

Browse files
committed
Mark unsupported tests
1 parent 3f44dd4 commit eb6b1fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Lib/test/test_opcodes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Python test set -- part 2, opcodes
22

33
import unittest
4-
from test import ann_module, support
4+
from test import support #,ann_module
55

66
class OpcodeTest(unittest.TestCase):
77

@@ -21,6 +21,7 @@ def test_try_inside_for_loop(self):
2121
if n != 90:
2222
self.fail('try inside for')
2323

24+
@unittest.skip("TODO: RUSTPYTHON")
2425
def test_setup_annotations_line(self):
2526
# check that SETUP_ANNOTATIONS does not create spurious line numbers
2627
try:
@@ -36,11 +37,13 @@ class C: pass
3637
with self.assertRaises(AttributeError):
3738
C.__annotations__
3839

40+
@unittest.skip("TODO: RUSTPYTHON")
3941
def test_use_existing_annotations(self):
4042
ns = {'__annotations__': {1: 2}}
4143
exec('x: int', ns)
4244
self.assertEqual(ns['__annotations__'], {'x': int, 1: 2})
4345

46+
@unittest.skip("TODO: RUSTPYTHON")
4447
def test_do_not_recreate_annotations(self):
4548
# Don't rely on the existence of the '__annotations__' global.
4649
with support.swap_item(globals(), '__annotations__', {}):

0 commit comments

Comments
 (0)