aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/_test_embed_structseq.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2025-05-22 13:17:22 +0300
committerGitHub <noreply@github.com>2025-05-22 13:17:22 +0300
commit2602d8ae981c4bae1cada2c174b367d97f712efb (patch)
treeb4b9f49c391469ee1fa894a85303916e47201aa1 /Lib/test/_test_embed_structseq.py
parentbb244fd33d3eb67923ec3253568867bfaed9895f (diff)
downloadcpython-2602d8ae981c4bae1cada2c174b367d97f712efb.tar.gz
cpython-2602d8ae981c4bae1cada2c174b367d97f712efb.zip
gh-71339: Use new assertion methods in tests (GH-129046)
Diffstat (limited to 'Lib/test/_test_embed_structseq.py')
-rw-r--r--Lib/test/_test_embed_structseq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/_test_embed_structseq.py b/Lib/test/_test_embed_structseq.py
index 154662efce9..4cac84d7a46 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