From bc87fadc03c7b3b45378e248e1ff92f8a5d084ca Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Sat, 25 Feb 2023 18:20:44 +0900 Subject: [PATCH] mark new failing tests --- Lib/test/test_sys.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 3e904efd2..82c42006a 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -75,6 +75,8 @@ class ActiveExceptionTests(unittest.TestCase): def test_exc_info_no_exception(self): self.assertEqual(sys.exc_info(), (None, None, None)) + # TODO: RUSTPYTHON; AttributeError: module 'sys' has no attribute 'exception' + @unittest.expectedFailure def test_sys_exception_no_exception(self): self.assertEqual(sys.exception(), None) @@ -108,6 +110,8 @@ class ActiveExceptionTests(unittest.TestCase): self.assertIs(exc_info[1], e) self.assertIs(exc_info[2], e.__traceback__) + # TODO: RUSTPYTHON; AttributeError: module 'sys' has no attribute 'exception' + @unittest.expectedFailure def test_sys_exception_with_exception_instance(self): def f(): raise ValueError(42) @@ -121,6 +125,8 @@ class ActiveExceptionTests(unittest.TestCase): self.assertIsInstance(e, ValueError) self.assertIs(exc, e) + # TODO: RUSTPYTHON; AttributeError: module 'sys' has no attribute 'exception' + @unittest.expectedFailure def test_sys_exception_with_exception_type(self): def f(): raise ValueError @@ -1135,6 +1141,8 @@ class SysModuleTest(unittest.TestCase): for name in sys.stdlib_module_names: self.assertIsInstance(name, str) + # TODO: RUSTPYTHON, AttributeError: module 'sys' has no attribute '_stdlib_dir' + @unittest.expectedFailure def test_stdlib_dir(self): os = import_helper.import_fresh_module('os') marker = getattr(os, '__file__', None)