Skip to content

Commit

Permalink
Skip test_gc.test_get_count() in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Feb 6, 2024
1 parent 483b37e commit 456b778
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_gc.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def __del__(self):
# To minimize variations, though, we first store the get_count() results
# and check them at the end.
@refcount_test
@unittest.skipIf(Py_GIL_DISABLED, 'needs precise allocation counts')
def test_get_count(self):
gc.collect()
a, b, c = gc.get_count()
Expand Down

0 comments on commit 456b778

Please sign in to comment.