示例#1
0
    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)
示例#2
0
    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)