def assertNotLogMatches(self, expected_regexp, msg=None):
    format = '%s: %%r was found in log' % (msg or 'Regexp matches')
    self._AssertLogMatches(expected_regexp, True, format)
From: http://stackoverflow.com/questions/1094841/reusable-library-to-get-human-readable-version-of-file-size  # NOQA
dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/testing.py/LogMatchTestCase.assertNotLogMatches--crossover with--dataset/ETHPy150Open StorjOld/downstream-farmer/downstream_farmer/utils.py/sizeof_fmt