-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
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
Modify test_codecs to use the new codecs.unregister() function #86085
Comments
After PR22360 merged, we can move the codecs' register operation to testcases. |
Commit c9f696c introduced a reference leak in the test suite. See https://bugs.python.org/issue42145: c9f696c is the first bad commit
Reverting the commit eliminates the problem: rences, sum=12 == Tests result: FAILURE == 1 test failed: Total duration: 397 ms ~/github/python/master master|bisect* ⇡ The following modules found by detect_modules() in setup.py, have been ~/github/python/master master|bisect* ⇡ == Tests result: SUCCESS == 1 test OK. Total duration: 455 ms
Lib/test/test_charmapcodec.py | 7 +++++-- |
AS this is masking other issues in the build bots, we need to revert the commit unless is fixed in 24 hours per the buildbot workflow |
Thanks, Pablo. I checked that only test_io.py have resource leak. |
The code was already removed by: commit c9f696c.
* main: pythongh-106368: Increase Argument Clinic test coverage (python#106389) pythongh-106320: Fix _PyImport_GetModuleAttr() declaration (python#106386) pythongh-106368: Harden Argument Clinic parser tests (python#106384) pythongh-106320: Remove private _PyImport C API functions (python#106383) pythongh-86085: Remove _PyCodec_Forget() declaration (python#106377) pythongh-106320: Remove more private _PyUnicode C API functions (python#106382) pythongh-104050: Annotate more Argument Clinic DSLParser state methods (python#106376) pythongh-106368: Clean up Argument Clinic tests (python#106373)
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
The text was updated successfully, but these errors were encountered: