gh-105751: Remove platform usage in test_ctypes (#105819)

The MACHINE variable is no longer used in test_structures.
This commit is contained in:
Victor Stinner 2023-06-15 11:44:54 +02:00 committed by GitHub
parent b496ff3109
commit c5111aec2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -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):