Skip to content

Commit

Permalink
gh-105751: Remove platform usage in test_ctypes (#105819)
Browse files Browse the repository at this point in the history
The MACHINE variable is no longer used in test_structures.
  • Loading branch information
vstinner committed Jun 15, 2023
1 parent b496ff3 commit c5111ae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Lib/test/test_ctypes/test_structures.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import _ctypes_test
import platform
import struct
import sys
import unittest
Expand All @@ -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):
Expand Down

0 comments on commit c5111ae

Please sign in to comment.