Skip to content

Commit 3844826

Browse files
committed
fix: tests
1 parent 434dbab commit 3844826

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_struct.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,10 @@ def test_c_complex_round_trip(self):
800800
round_trip = struct.unpack(f, struct.pack(f, z))[0]
801801
self.assertComplexesAreIdentical(z, round_trip)
802802

803+
@unittest.skipIf(
804+
support.is_android or support.is_apple_mobile,
805+
"Subinterpreters are not supported on Android and iOS"
806+
)
803807
def test_endian_table_init_subinterpreters(self):
804808
# Verify that the _struct extension module can be initialized
805809
# concurrently in subinterpreters (gh-140260).

0 commit comments

Comments
 (0)