mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
test(importlib): Enable bad bytecode tests for PEP451 loaders (#5997)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user