Skip to content

Commit b628d7d

Browse files
committed
Remove duplicated test
1 parent aa1eb4a commit b628d7d

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

Lib/test/test_capi/test_modsupport.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -125,24 +125,6 @@ def test_negative_internal(self, modname, minor, build, abi_version):
125125
build,
126126
abi_version)
127127

128-
@subTests('modname', (None, 'test_mod'))
129-
@subTests('minor', (0, 1, 9))
130-
@subTests('build', (0, sys.hexversion))
131-
@subTests('abi_version', (
132-
sys.hexversion - 0x00010000,
133-
sys.hexversion - 1,
134-
sys.hexversion + 1,
135-
sys.hexversion + 0x00010000,
136-
))
137-
def test_negative_internal(self, modname, minor, build, abi_version):
138-
with self.assertRaisesRegex(
139-
ImportError,
140-
r'incompatible internal ABI \(0x[\da-f]+ != 0x[\da-f]+\)$'):
141-
_testcapi.pyabiinfo_check(modname, 1, minor,
142-
_testcapi.PyABIInfo_INTERNAL,
143-
build,
144-
abi_version)
145-
146128
@subTests('modname', (None, 'test_mod'))
147129
@subTests('minor', (0, 1, 9))
148130
@subTests('build', (0, sys.hexversion))

0 commit comments

Comments
 (0)