832
832
def _check_leaked_threads(self):
833
833
active = threading.activeCount()
835
834
leaked_threads = active - TestCase._active_threads
836
835
TestCase._active_threads = active
837
836
# If some tests make the number of threads *decrease*, we'll consider