From f65d29475d08692b269b9ec3b331e1a46a491a43 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 15 Jun 2023 11:20:54 +0200 Subject: [PATCH] gh-105751: Remove platform usage in test_ctypes The MACHINE variable is no longer used in test_structures. --- Lib/test/test_ctypes/test_structures.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Lib/test/test_ctypes/test_structures.py b/Lib/test/test_ctypes/test_structures.py index e656d18934779f..b9ad5edfd938bb 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 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):