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
Next Next commit
New check requires pymalloc
  • Loading branch information
tiran committed Oct 19, 2021
commit 77b203647bcec0416a11be1d7b1573a510f2e72a
3 changes: 2 additions & 1 deletion Lib/test/test_sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,8 @@ def test_debugmallocstats(self):
ret, out, err = assert_python_ok(*args)
if sysconfig.get_config_var("WITH_FREELISTS"):
Comment thread
tiran marked this conversation as resolved.
Outdated
self.assertIn(b"free PyDictObjects", err)
self.assertIn(b'Small block threshold', err)
if sysconfig.get_config_var("WITH_PYMALLOC"):
self.assertIn(b'Small block threshold', err)

# The function has no parameter
self.assertRaises(TypeError, sys._debugmallocstats, True)
Expand Down