From 3efa141378f1c17eb47e14761e4006682a397d48 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Mon, 15 Aug 2022 16:15:38 +0900 Subject: [PATCH] change partial failing markers to skip in test_importlib --- Lib/test/test_importlib/source/test_file_loader.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Lib/test/test_importlib/source/test_file_loader.py b/Lib/test/test_importlib/source/test_file_loader.py index e7bb2c78d..8c74151aa 100644 --- a/Lib/test/test_importlib/source/test_file_loader.py +++ b/Lib/test/test_importlib/source/test_file_loader.py @@ -238,8 +238,7 @@ class SimpleTest(abc.LoaderTests): warnings.simplefilter('ignore', DeprecationWarning) loader.load_module('bad name') - # TODO: RUSTPYTHON - @unittest.expectedFailure + @unittest.skip("TODO: RUSTPYTHON; successful only for Frozen") @util.writes_bytecode_files def test_checked_hash_based_pyc(self): with util.create_modules('_temp') as mapping: @@ -271,8 +270,6 @@ class SimpleTest(abc.LoaderTests): data[8:16], ) - # TODO: RUSTPYTHON - @unittest.expectedFailure @util.writes_bytecode_files def test_overridden_checked_hash_based_pyc(self): with util.create_modules('_temp') as mapping, \ @@ -298,8 +295,7 @@ class SimpleTest(abc.LoaderTests): loader.exec_module(mod) self.assertEqual(mod.state, 'old') - # TODO: RUSTPYTHON - @unittest.expectedFailure + @unittest.skip("TODO: RUSTPYTHON; successful only for Frozen") @util.writes_bytecode_files def test_unchecked_hash_based_pyc(self): with util.create_modules('_temp') as mapping: @@ -330,8 +326,7 @@ class SimpleTest(abc.LoaderTests): data[8:16], ) - # TODO: RUSTPYTHON - @unittest.expectedFailure + @unittest.skip("TODO: RUSTPYTHON; successful only for Frozen") @util.writes_bytecode_files def test_overiden_unchecked_hash_based_pyc(self): with util.create_modules('_temp') as mapping, \