Visitar URL original
gh-97588: Failing tests to demonstrate the issue by matthiasgoergens · Pull Request #97589 · python/cpython · GitHub
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Doesn't fail on Windows
  • Loading branch information
matthiasgoergens committed Sep 30, 2022
commit 0aa3a000979c797ba2aa0867f041a8ccd4cdc32a
3 changes: 3 additions & 0 deletions Lib/test/test_ctypes/test_bitfields.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from test import support
import unittest
import os
import sys

import _ctypes_test

Expand Down Expand Up @@ -236,6 +237,7 @@ class X(Structure):
else:
self.assertEqual(sizeof(X), sizeof(c_int) * 2)

@unittest.skipIf(sys.platform == 'win32', "Doesn't fail on Windows")
@unittest.expectedFailure # gh-97588
def test_mixed_5(self):
class X(Structure):
Expand All @@ -247,6 +249,7 @@ class X(Structure):
a.B = 1
self.assertEqual(1, a.B)

@unittest.skipIf(sys.platform == 'win32', "Doesn't fail on Windows")
@unittest.expectedFailure # gh-97588
def test_mixed_6(self):
class X(Structure):
Expand Down