Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration:
./configure --with-pydebug
Test:
./python -m test test_cmd_line -v
Output:
====================================================================== FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='mimalloc', name='mimalloc') ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/cpython/Lib/test/test_cmd_line.py", line 845, in test_pythonmalloc self.check_pythonmalloc(env_var, name) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/home/user/cpython/Lib/test/test_cmd_line.py", line 811, in check_pythonmalloc self.assertEqual(proc.stdout.rstrip(), name) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'mimalloc: warning: unable to directly request hin[119 chars]lloc' != 'mimalloc' - mimalloc: warning: unable to directly request hinted aligned OS memory (error: 2 (0x2), size: 0x40000000 bytes, alignment: 0x2000000, hint address: 0x20000000000) mimalloc ====================================================================== FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='mimalloc_debug', name='mimalloc_debug') ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/cpython/Lib/test/test_cmd_line.py", line 845, in test_pythonmalloc self.check_pythonmalloc(env_var, name) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/home/user/cpython/Lib/test/test_cmd_line.py", line 811, in check_pythonmalloc self.assertEqual(proc.stdout.rstrip(), name) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'mimalloc: warning: unable to directly request hin[125 chars]ebug' != 'mimalloc_debug' - mimalloc: warning: unable to directly request hinted aligned OS memory (error: 2 (0x2), size: 0x40000000 bytes, alignment: 0x2000000, hint address: 0x20000000000) mimalloc_debug ---------------------------------------------------------------------- Ran 56 tests in 26.843s FAILED (failures=2, skipped=2) test test_cmd_line failed test_cmd_line failed (2 failures) == Tests result: FAILURE == 1 test failed: test_cmd_line Total duration: 27.3 sec Total tests: run=56 failures=2 skipped=2 Total test files: run=1/1 failed=1 Result: FAILURE
Environment:
user@starfive:~/cpython$ uname -a Linux starfive 5.15.0-starfive #1 SMP Fri Nov 24 07:22:28 UTC 2023 riscv64 GNU/Linux
CPython main branch
Other
The text was updated successfully, but these errors were encountered:
The issue seems to be solved with this PR.
Sorry, something went wrong.
No branches or pull requests
Bug report
Bug description:
Bug report
Bug description:
Configuration:
Test:
./python -m test test_cmd_line -v
Output:
Environment:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
The text was updated successfully, but these errors were encountered: