diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-23 15:58:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 15:58:34 (GMT) |
commit | 251ef2e36f61a1c4b7c628ba9dc38a10a355a058 (patch) | |
tree | 18d6c2bc1c11eb969fc3216b549feb2d67f78b1a /Lib/test/test_long.py | |
parent | dbe4f8a2e8b9751bbe8d0551e55d27267b0bfcde (diff) | |
download | cpython-251ef2e36f61a1c4b7c628ba9dc38a10a355a058.zip cpython-251ef2e36f61a1c4b7c628ba9dc38a10a355a058.tar.gz cpython-251ef2e36f61a1c4b7c628ba9dc38a10a355a058.tar.bz2 |
[3.13] GH-117195: Avoid assertion error in `object.__sizeof__` (GH-117220) (GH-119456)
Diffstat (limited to 'Lib/test/test_long.py')
-rw-r--r-- | Lib/test/test_long.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py index d299c34..41b973d 100644 --- a/Lib/test/test_long.py +++ b/Lib/test/test_long.py @@ -1639,6 +1639,8 @@ class LongTest(unittest.TestCase): MyInt.__basicsize__ + MyInt.__itemsize__ * ndigits ) + # GH-117195 -- This shouldn't crash + object.__sizeof__(1) if __name__ == "__main__": unittest.main() |