Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit15ea337

Browse files
committed
mark filing tests for test_struct
1 parent65857cb commit15ea337

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎Lib/test/test_struct.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,8 @@ def test_format_attr(self):
658658
s2=struct.Struct(s.format.encode())
659659
self.assertEqual(s2.format,s.format)
660660

661+
# TODO: RUSTPYTHON
662+
@unittest.expectedFailure
661663
deftest_struct_cleans_up_at_runtime_shutdown(self):
662664
code="""if 1:
663665
import struct
@@ -703,6 +705,8 @@ def test__struct_types_immutable(self):
703705
cls.x=1
704706

705707

708+
# TODO: RUSTPYTHON
709+
@unittest.expectedFailure
706710
deftest_issue35714(self):
707711
# Embedded null characters should not be allowed in format strings.
708712
forsin'\0','2\0i',b'\0':
@@ -737,6 +741,8 @@ def _check_iterator(it):
737741
withself.assertRaises(struct.error):
738742
s.iter_unpack(b"12")
739743

744+
# TODO: RUSTPYTHON
745+
@unittest.expectedFailure
740746
deftest_uninstantiable(self):
741747
iter_unpack_type=type(struct.Struct(">ibcp").iter_unpack(b""))
742748
self.assertRaises(TypeError,iter_unpack_type)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp