You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_exceptions.ExceptionTests.testMemoryErrorBigSource fails on certain platforms #110800
======================================================================
FAIL: testMemoryErrorBigSource (test.test_exceptions.ExceptionTests.testMemoryErrorBigSource)
----------------------------------------------------------------------
OverflowError: cannot fit 'int' into an index-sized integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-dl/build/Lib/test/test_exceptions.py", line 322, in testMemoryErrorBigSource
with self.assertRaisesRegex(OverflowError, "column offset overflow"):
AssertionError: "column offset overflow" does not match "cannot fit 'int' into an index-sized integer"
----------------------------------------------------------------------
Ran 95 tests in 1.969s
This seems to be due to the PySequence_Repeat taking a Py_ssize_t, which is platform dependent.
Activity
pythonGH-110800: fix unexpected OverflowError in testMemoryErrorBigSo…
AlexWaygood commentedon Oct 13, 2023
Duplicate of #110767
testMemoryErrorBigSourceintest_exceptions#110767Merge remote-tracking branch 'origin/main' into pythongh-110800
Merge remote-tracking branch 'origin/main' into pythongh-110800
Merge branch 'main' into pythongh-110800
pythonGH-110800: fix unexpected OverflowError in testMemoryErrorBigSo…