diff options
author | Sergey B Kirpichev <skirpichev@gmail.com> | 2024-08-26 09:57:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 09:57:52 (GMT) |
commit | dbc1752d4107532d312c78263212e807a3674eb1 (patch) | |
tree | e3c905aaa34e557db023300e4fe8a640bf3532a0 /Lib/test/test_capi/test_set.py | |
parent | 6401cdf90810252a0de1775cac2f4f2f7c6b1d5a (diff) | |
download | cpython-dbc1752d4107532d312c78263212e807a3674eb1.zip cpython-dbc1752d4107532d312c78263212e807a3674eb1.tar.gz cpython-dbc1752d4107532d312c78263212e807a3674eb1.tar.bz2 |
gh-111495: Add tests for PyTuple C API (#118757)
Co-authored-by: kalyanr <kalyan.ben10@live.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/test/test_capi/test_set.py')
-rw-r--r-- | Lib/test/test_capi/test_set.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_capi/test_set.py b/Lib/test/test_capi/test_set.py index 499a514..62d90a3 100644 --- a/Lib/test/test_capi/test_set.py +++ b/Lib/test/test_capi/test_set.py @@ -265,3 +265,7 @@ class TestInternalCAPI(BaseSetTests, unittest.TestCase): with self.assertRaises(SystemError): set_next(object(), 0) # CRASHES: set_next(NULL, 0) + + +if __name__ == "__main__": + unittest.main() |