From c5111aec2bac464b6643e21fe0844c9b8c4c661a Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 15 Jun 2023 11:44:54 +0200 Subject: gh-105751: Remove platform usage in test_ctypes (#105819) 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 46bf900..72bec13 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): -- cgit v0.12