def testPkbLogFilter(self):
    logger_name = 'log_util_test.LogUtilTestCase.testPkbLogFilter'
    context = log_util.ThreadLogContext()
    log_util.SetThreadLogContext(context)
    with context.ExtendLabel('LABEL-A'):
      log_record = logging.LogRecord(
          name=logger_name, level=logging.INFO, pathname=__file__,
          lineno=inspect.getframeinfo(inspect.currentframe()).lineno + 1,
          msg="Log message.", args=None, exc_info=None)
      log_util.PkbLogFilter().filter(log_record)
      self.assertEqual(log_record.pkb_label, 'LABEL-A ')
In a linear model y = bx + e. Calculate b such cor(bx + e, x) = cor.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/tests/log_util_test.py/LogUtilTestCase.testPkbLogFilter--crossover with--dataset/ETHPy150Open neurospin/pylearn-parsimony/parsimony/datasets/utils.py/corr_to_coef