diff options
author | Dong-hee Na <donghee.na@python.org> | 2023-05-02 15:05:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 15:05:30 (GMT) |
commit | d81ca7ec029ba05084751c8df64292bb48f4f30f (patch) | |
tree | cc994cf44d437ac03d2b2c829377d6e40e16f319 /Lib | |
parent | 87223f32aba872cfebde6fbe38673799eb79f248 (diff) | |
download | cpython-d81ca7ec029ba05084751c8df64292bb48f4f30f.zip cpython-d81ca7ec029ba05084751c8df64292bb48f4f30f.tar.gz cpython-d81ca7ec029ba05084751c8df64292bb48f4f30f.tar.bz2 |
gh-84436: Add integration C API tests for immortal objects (gh-103962)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_capi/test_immortal.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Lib/test/test_capi/test_immortal.py b/Lib/test/test_capi/test_immortal.py new file mode 100644 index 0000000..ef5d32b --- /dev/null +++ b/Lib/test/test_capi/test_immortal.py @@ -0,0 +1,16 @@ +import unittest +from test.support import import_helper + +_testcapi = import_helper.import_module('_testcapi') + + +class TestCAPI(unittest.TestCase): + def test_immortal_builtins(self): + _testcapi.test_immortal_builtins() + + def test_immortal_small_ints(self): + _testcapi.test_immortal_small_ints() + + +if __name__ == "__main__": + unittest.main() |