test(importlib): Enable bad bytecode tests for PEP451 loaders (#5997)

This commit is contained in:
Jiseok CHOI
2025-07-19 12:16:19 +09:00
committed by GitHub
parent f8d03fd680
commit bd8e557b70

View File

@@ -672,10 +672,9 @@ class SourceLoaderBadBytecodeTest:
os.chmod(bytecode_path, stat.S_IWUSR)
# TODO: RUSTPYTHON
# class SourceLoaderBadBytecodeTestPEP451(
# SourceLoaderBadBytecodeTest, BadBytecodeTestPEP451):
# pass
class SourceLoaderBadBytecodeTestPEP451(
SourceLoaderBadBytecodeTest, BadBytecodeTestPEP451):
pass
# (Frozen_SourceBadBytecodePEP451,
@@ -772,10 +771,9 @@ class SourcelessLoaderBadBytecodeTest:
self._test_non_code_marshal(del_source=True)
# TODO: RUSTPYTHON
# class SourcelessLoaderBadBytecodeTestPEP451(SourcelessLoaderBadBytecodeTest,
# BadBytecodeTestPEP451):
# pass
class SourcelessLoaderBadBytecodeTestPEP451(SourcelessLoaderBadBytecodeTest,
BadBytecodeTestPEP451):
pass
# (Frozen_SourcelessBadBytecodePEP451,