Skip to content
Merged
Changes from 1 commit
Commits
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
Prev Previous commit
Update test_gc.py
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
ZeroIntensity and vstinner authored Sep 26, 2024
commit e8b7e4757fe0f6eb1642d2388ac9da171a4f7ad4
2 changes: 1 addition & 1 deletion Lib/test/test_gc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ class Z:

@cpython_only
def test_get_referents_on_capsule(self):
# See GH-124538
# gh-124538: Calling gc.get_referents() on an untracked capsule must not crash.
import _datetime
import _socket
untracked_capsule = _datetime.datetime_CAPI
Expand Down