def test_stats(self): stats = _CheckpointStats() for i in range(1024): stats.start() stats.end() assert isinstance(stats.report(), str) stats = _CheckpointStats() assert isinstance(stats.report(), str)