GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mark filing tests for test_struct · RustPython/RustPython@15ea337

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Lib/test
    • test_struct.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎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)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.