Skip to content

Commit 9a61716

Browse files
committed
Edit test_cmd_line_script.py
1 parent 700f2b9 commit 9a61716

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎Lib/test/test_cmd_line_script.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,8 @@ def test_syntaxerror_invalid_escape_sequence_multi_line(self):
685685
],
686686
)
687687

688+
# TODO: RUSTPYTHON
689+
@unittest.expectedFailure
688690
def test_syntaxerror_null_bytes(self):
689691
script = "x = '\0' nothing to see here\n';import os;os.system('echo pwnd')\n"
690692
with os_helper.temp_dir() as script_dir:
@@ -697,6 +699,8 @@ def test_syntaxerror_null_bytes(self):
697699
],
698700
)
699701

702+
# TODO: RUSTPYTHON
703+
@unittest.expectedFailure
700704
def test_syntaxerror_null_bytes_in_multiline_string(self):
701705
scripts = ["\n'''\nmultilinestring\0\n'''", "\nf'''\nmultilinestring\0\n'''"] # Both normal and f-strings
702706
with os_helper.temp_dir() as script_dir:
@@ -710,6 +714,8 @@ def test_syntaxerror_null_bytes_in_multiline_string(self):
710714
]
711715
)
712716

717+
# TODO: RUSTPYTHON
718+
@unittest.expectedFailure
713719
def test_consistent_sys_path_for_direct_execution(self):
714720
# This test case ensures that the following all give the same
715721
# sys.path configuration:

0 commit comments

Comments
 (0)