From: Victor Stinner Date: Thu, 15 Jun 2023 09:44:54 +0000 (+0200) Subject: gh-105751: Remove platform usage in test_ctypes (#105819) X-Git-Tag: v3.13.0a1~1726 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5111aec2bac464b6643e21fe0844c9b8c4c661a;p=thirdparty%2FPython%2Fcpython.git gh-105751: Remove platform usage in test_ctypes (#105819) The MACHINE variable is no longer used in test_structures. --- diff --git a/Lib/test/test_ctypes/test_structures.py b/Lib/test/test_ctypes/test_structures.py index 46bf90054be6..72bec13a77ca 100644 --- a/Lib/test/test_ctypes/test_structures.py +++ b/Lib/test/test_ctypes/test_structures.py @@ -1,5 +1,4 @@ import _ctypes_test -import platform import struct import sys import unittest @@ -12,12 +11,6 @@ from struct import calcsize from test import support -# The following definition is meant to be used from time to time to assist -# temporarily disabling tests on specific architectures while investigations -# are in progress, to keep buildbots happy. -MACHINE = platform.machine() - - class SubclassesTest(unittest.TestCase): def test_subclass(self): class X(Structure):