Skip to content

Enable bad bytecode tests for PEP451 loaders #5997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions Lib/test/test_importlib/source/test_file_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,10 +672,9 @@ def test_read_only_bytecode(self):
os.chmod(bytecode_path, stat.S_IWUSR)


# TODO: RUSTPYTHON
# class SourceLoaderBadBytecodeTestPEP451(
# SourceLoaderBadBytecodeTest, BadBytecodeTestPEP451):
# pass
class SourceLoaderBadBytecodeTestPEP451(
SourceLoaderBadBytecodeTest, BadBytecodeTestPEP451):
pass


# (Frozen_SourceBadBytecodePEP451,
Expand Down Expand Up @@ -772,10 +771,9 @@ def test_non_code_marshal(self):
self._test_non_code_marshal(del_source=True)


# TODO: RUSTPYTHON
# class SourcelessLoaderBadBytecodeTestPEP451(SourcelessLoaderBadBytecodeTest,
# BadBytecodeTestPEP451):
# pass
class SourcelessLoaderBadBytecodeTestPEP451(SourcelessLoaderBadBytecodeTest,
BadBytecodeTestPEP451):
pass


# (Frozen_SourcelessBadBytecodePEP451,
Expand Down
Loading