diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-05-22 10:42:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-22 10:42:50 (GMT) |
commit | db98e0bb127c469842dc119d23e5daacd23862cc (patch) | |
tree | 5628e04625c93f2e5bde25aa29dedb3c154a0dec /Lib/test/_test_embed_structseq.py | |
parent | d5f7e80d4407655919b32bbd5746b23af174bc5b (diff) | |
download | cpython-db98e0bb127c469842dc119d23e5daacd23862cc.zip cpython-db98e0bb127c469842dc119d23e5daacd23862cc.tar.gz cpython-db98e0bb127c469842dc119d23e5daacd23862cc.tar.bz2 |
[3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498)
(cherry picked from commit 2602d8ae981c4bae1cada2c174b367d97f712efb)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/_test_embed_structseq.py')
-rw-r--r-- | Lib/test/_test_embed_structseq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/_test_embed_structseq.py b/Lib/test/_test_embed_structseq.py index 154662e..4cac84d 100644 --- a/Lib/test/_test_embed_structseq.py +++ b/Lib/test/_test_embed_structseq.py @@ -11,7 +11,7 @@ class TestStructSeq(unittest.TestCase): # ob_refcnt self.assertGreaterEqual(sys.getrefcount(obj_type), 1) # tp_base - self.assertTrue(issubclass(obj_type, tuple)) + self.assertIsSubclass(obj_type, tuple) # tp_bases self.assertEqual(obj_type.__bases__, (tuple,)) # tp_dict |