diff tests/mockblackbox.py @ 40455:88702fd208ce

py3: convert revlog stats to a dict of (bytes, int) pairs Py_DECREF(t) is replaced with Py_CLEAR(t) so that t is set to NULL once decrefed. Otherwise, it would be excessively decrefed if a subsequent PyBytes_FromString() failed.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 24 Oct 2018 21:28:03 +0900
parents a8a902d7176e
children 2372284d9457
line wrap: on
line diff