Skip to content
Closed
Changes from all commits
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
3 changes: 2 additions & 1 deletion Lib/test/test_capi/test_structmembers.py
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
import unittest
from test.support import import_helper
from test.support import import_helper, skip_on_s390x

# Skip this test if the _testcapi module isn't available.
import_helper.import_module('_testcapi')
Expand DownExpand Up@@ -165,6 +165,7 @@ def test_inplace_string(self):
self.assertRaises(TypeError, setattr, ts, "T_STRING_INPLACE", "s")
self.assertRaises(TypeError, delattr, ts, "T_STRING_INPLACE")

@skip_on_s390x # gh-127572: test fails on s390x
def test_char(self):
ts = self.ts
self.assertEqual(ts.T_CHAR, "c")
Expand Down