Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-135552: Add tests that check if weakref for tp_subclasses cleared after finalization#136304

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Changes from1 commit
Commits
Show all changes
13 commits
Select commitHold shift + click to select a range
4d648b4
Add tests
fxeqxmulfxJun 22, 2025
77e9ca7
Organize tests
sergey-miryanovJun 22, 2025
b6825da
Simplify tests
sergey-miryanovJun 24, 2025
f62d43e
Remove extra line
sergey-miryanovJul 4, 2025
398c4f5
Add extra comments
sergey-miryanovJul 4, 2025
7dd9669
Add tests for checking that weakrefs clears before and after finaliza…
sergey-miryanovJul 4, 2025
1da73b3
Make tests a little bit reliable
sergey-miryanovJul 5, 2025
0510539
Simplify tests
sergey-miryanovJul 5, 2025
50410d6
Use unittest asserts
sergey-miryanovJul 6, 2025
aa18e74
Move test_clearing_weakrefs_in_gc to test_weakref
sergey-miryanovJul 8, 2025
7788e55
Apply suggestions from code review
sergey-miryanovJul 8, 2025
d125d06
Merge branch 'main' into gh-135552-add-tests-gc-weakref-tp_subclasses
naschemeAug 7, 2025
0339d54
Revise test_clearing_weakrefs_in_gc test
naschemeAug 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Remove extra line
  • Loading branch information
@sergey-miryanov
sergey-miryanov committedJul 4, 2025
commitf62d43e6af2dc76a6c96f950ec3acce03e8dbf41
1 change: 0 additions & 1 deletionLib/test/test_gc.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1542,7 +1542,6 @@ def test_ast_fini(self):
assert_python_ok("-c", code)



def setUpModule():
global enabled, debug
enabled = gc.isenabled()
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp