Skip to content

Commit 01036ec

Browse files
committed
Drop tests, we use PUBLIC_CFLAGS & PEDANTIC_CXXFLAGS instead
1 parent f29d610 commit 01036ec

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎Lib/test/test_cext/__init__.py‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ def test_build_abi3t(self):
133133
# Test with Py_TARGET_ABI3T
134134
self.check_build('_test_cext_abi3t', abi3t=True)
135135

136-
# gh-154643: Test that headers don't use undefined macros in #if
137-
@unittest.skipIf(support.MS_WINDOWS, "MSVC doesn't support -Werror=undef")
138-
def test_build_werror_undef(self):
139-
self.check_build('_test_cext_undef', extra_cflags='-Werror=undef')
140-
141136

142137
class TestPublicCpp(BaseTests, unittest.TestCase):
143138
LANGUAGE = 'C++'
@@ -179,11 +174,6 @@ def test_build_abi3t(self):
179174
# Test with Py_TARGET_ABI3T
180175
self.check_build('_test_cppext_abi3t', abi3t=True)
181176

182-
# gh-154643: Test that headers don't use undefined macros in #if
183-
@unittest.skipIf(support.MS_WINDOWS, "MSVC doesn't support -Werror=undef")
184-
def test_build_werror_undef(self):
185-
self.check_build('_testcppext_undef', extra_cflags='-Werror=undef')
186-
187177

188178
class TestInternalC(BaseTests, unittest.TestCase):
189179
LANGUAGE = 'C'

0 commit comments

Comments
 (0)