def testPercentile(self):
    """ With indentation and percentiles. """
    a = self._RandomList()
    p = [80, 90, 95, 99]
    out_str = '   mean=%.2f\n   median=%.2f\n   stddev=%.2f\n' % \
              (numpy.mean(a), numpy.median(a), numpy.std(a))
    out_str += numpy.percentile(a, p) % '   80/90/95/99 percentiles=%s'
    self.assertEqual(statistics.FormatStats(a, percentiles=p, indent=3), out_str)
dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/test/statistics_test.py/FormatStatsTestCase.testPercentile/swapped operands of `%`