Skip to content

Commit 4a80197

Browse files
committed
Update test case error msg
1 parent 94d5656 commit 4a80197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_ctypes/test_struct_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class S(Structure):
133133
def test_bitfield_overflow_error_message(self):
134134
with self.assertRaisesRegex(
135135
ValueError,
136-
r"bit field 'x' overflows its type \(0 \+ 9 > 8\)",
136+
r"bit field 'x' overflows its type \(2 \+ 7 > 8\)",
137137
):
138138
CField(
139139
name="x",

0 commit comments

Comments
 (0)