Skip to content

Commit f5fedb3

Browse files
committed
mark tests
1 parent 185aeb9 commit f5fedb3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_sys.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ class SysModuleTest(unittest.TestCase):
206206
def tearDown(self):
207207
test.support.reap_children()
208208

209+
@unittest.expectedFailure # TODO: RUSTPYTHON
209210
def test_exit(self):
210211
# call with two arguments
211212
self.assertRaises(TypeError, sys.exit, 42, 42)
@@ -1179,7 +1180,6 @@ def test_getallocatedblocks(self):
11791180
c = sys.getallocatedblocks()
11801181
self.assertIn(c, range(b - 50, b + 50))
11811182

1182-
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: False is not true
11831183
def test_is_gil_enabled(self):
11841184
if support.Py_GIL_DISABLED:
11851185
self.assertIs(type(sys._is_gil_enabled()), bool)
@@ -1319,7 +1319,6 @@ def test_orig_argv(self):
13191319
self.assertEqual(proc.stdout.rstrip().splitlines(), expected,
13201320
proc)
13211321

1322-
@unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: module 'sys' has no attribute 'stdlib_module_names'
13231322
def test_module_names(self):
13241323
self.assertIsInstance(sys.stdlib_module_names, frozenset)
13251324
for name in sys.stdlib_module_names:

0 commit comments

Comments
 (0)