summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_long.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_long.py')
-rw-r--r--Lib/test/test_long.py2
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()