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

Appearance settings

Commit 15ea337

Browse filesBrowse files
committed
mark filing tests for test_struct
1 parent 65857cb commit 15ea337
Copy full SHA for 15ea337

File tree

1 file changed

+6
-0
lines changed
Filter options

1 file changed

+6
-0
lines changed

‎Lib/test/test_struct.py

Copy file name to clipboardExpand all lines: Lib/test/test_struct.py
+6Lines 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
def test_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
def test_issue35714(self):
707711
# Embedded null characters should not be allowed in format strings.
708712
for s in '\0', '2\0i', b'\0':
@@ -737,6 +741,8 @@ def _check_iterator(it):
737741
with self.assertRaises(struct.error):
738742
s.iter_unpack(b"12")
739743

744+
# TODO: RUSTPYTHON
745+
@unittest.expectedFailure
740746
def test_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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.