diff options
author | Mark Shannon <mark@hotpy.org> | 2024-05-23 10:06:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 10:06:10 (GMT) |
commit | 406ffb5293a8c9ca315bf63de1ee36a9b33f9aaf (patch) | |
tree | 8ddbaba9cbd394a1d3b84723bbfec4a38149d178 /Lib/test | |
parent | c85e3526736d1cf8226686fdf4f5117e105a7b13 (diff) | |
download | cpython-406ffb5293a8c9ca315bf63de1ee36a9b33f9aaf.zip cpython-406ffb5293a8c9ca315bf63de1ee36a9b33f9aaf.tar.gz cpython-406ffb5293a8c9ca315bf63de1ee36a9b33f9aaf.tar.bz2 |
GH-117195: Avoid assertion error in `object.__sizeof__` (GH-117220)
Diffstat (limited to 'Lib/test')
-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() |