mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-71339: Use new assertion methods in tests (GH-129046)
This commit is contained in:
parent
bb244fd33d
commit
2602d8ae98
117 changed files with 407 additions and 445 deletions
|
@ -401,7 +401,7 @@ class PlatformTest(unittest.TestCase):
|
|||
for v in version.split('.'):
|
||||
int(v) # should not fail
|
||||
if csd:
|
||||
self.assertTrue(csd.startswith('SP'), msg=csd)
|
||||
self.assertStartsWith(csd, 'SP')
|
||||
if ptype:
|
||||
if os.cpu_count() > 1:
|
||||
self.assertIn('Multiprocessor', ptype)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue