summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gc.py
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-01-05 20:17:16 (GMT)
committerGitHub <noreply@github.com>2024-01-05 20:17:16 (GMT)
commit99854ce1701ca4d1a0d153e501a29f9eec306ce5 (patch)
tree15eb59f79b9abbb5e23bfaadb37946fe01871dd1 /Lib/test/test_gc.py
parent0b7476080b58ea2ee71c6c1229994a3bb62fe4fa (diff)
downloadcpython-99854ce1701ca4d1a0d153e501a29f9eec306ce5.zip
cpython-99854ce1701ca4d1a0d153e501a29f9eec306ce5.tar.gz
cpython-99854ce1701ca4d1a0d153e501a29f9eec306ce5.tar.bz2
gh-113688: Split up gcmodule.c (gh-113715)
This splits part of Modules/gcmodule.c of into Python/gc.c, which now contains the core garbage collection implementation. The Python module remain in the Modules/gcmodule.c file.
Diffstat (limited to 'Lib/test/test_gc.py')
-rw-r--r--Lib/test/test_gc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gc.py b/Lib/test/test_gc.py
index db7cb9ac..1d71dd9 100644
--- a/Lib/test/test_gc.py
+++ b/Lib/test/test_gc.py
@@ -1225,7 +1225,7 @@ class GCCallbackTests(unittest.TestCase):
p.stderr.close()
# Verify that stderr has a useful error message:
self.assertRegex(stderr,
- br'gcmodule\.c:[0-9]+: gc_decref: Assertion "gc_get_refs\(g\) > 0" failed.')
+ br'gc\.c:[0-9]+: gc_decref: Assertion "gc_get_refs\(g\) > 0" failed.')
self.assertRegex(stderr,
br'refcount is too small')
# "address : 0x7fb5062efc18"