File tree 1 file changed +6
-0
lines changed
Filter options
1 file changed +6
-0
lines changed
Original file line number Diff line number Diff line change @@ -658,6 +658,8 @@ def test_format_attr(self):
658
658
s2 = struct .Struct (s .format .encode ())
659
659
self .assertEqual (s2 .format , s .format )
660
660
661
+ # TODO: RUSTPYTHON
662
+ @unittest .expectedFailure
661
663
def test_struct_cleans_up_at_runtime_shutdown (self ):
662
664
code = """if 1:
663
665
import struct
@@ -703,6 +705,8 @@ def test__struct_types_immutable(self):
703
705
cls .x = 1
704
706
705
707
708
+ # TODO: RUSTPYTHON
709
+ @unittest .expectedFailure
706
710
def test_issue35714 (self ):
707
711
# Embedded null characters should not be allowed in format strings.
708
712
for s in '\0 ' , '2\0 i' , b'\0 ' :
@@ -737,6 +741,8 @@ def _check_iterator(it):
737
741
with self .assertRaises (struct .error ):
738
742
s .iter_unpack (b"12" )
739
743
744
+ # TODO: RUSTPYTHON
745
+ @unittest .expectedFailure
740
746
def test_uninstantiable (self ):
741
747
iter_unpack_type = type (struct .Struct (">ibcp" ).iter_unpack (b"" ))
742
748
self .assertRaises (TypeError , iter_unpack_type )
You can’t perform that action at this time.
0 commit comments