content/test/gpu/gpu_tests/skia_gold_integration_test_base.py
def _ShouldReportGoldFailure(self, page):
    """Determines if a Gold failure should actually be surfaced.

    Args:
      page: The GPU PixelTestPage object for the test.

    Returns:
      True if the failure should be surfaced, i.e. the test should fail,
      otherwise False.
    """
    parsed_options = self.GetParsedCommandLineOptions()
    # Don't surface if we're explicitly told not to.
    if parsed_options.no_skia_gold_failure:
      return False
    # Don't surface if the test was recently added and we're still within its
    # grace period.
    if _GracePeriodActive(page):
      return False
    return True
Determines if a Gold failure should actually be surfaced.

    Args:
      page: The GPU PixelTestPage object for the test.

    Returns:
      True if the failure should be surfaced, i.e. the test should fail,
      otherwise False.
    
Determines if a Gold failure should actually be surfaced.
Determines if a Gold failure should actually be surfaced .
def _ShouldReportGoldFailure(self, page):
    parsed_options = self.GetParsedCommandLineOptions()
    if parsed_options.no_skia_gold_failure:
      return False
    if _GracePeriodActive(page):
      return False
    return True
def _ShouldReportGoldFailure ( self , page ) : parsed_options = self . GetParsedCommandLineOptions ( ) if parsed_options . no_skia_gold_failure : return False if _GracePeriodActive ( page ) : return False return True
Determines if a Gold failure should actually be surfaced.
Determines if a Gold failure should actually be surfaced .
"""Determines if a Gold failure should actually be surfaced.

    Args:
      page: The GPU PixelTestPage object for the test.

    Returns:
      True if the failure should be surfaced, i.e. the test should fail,
      otherwise False.
    """ # Don't surface if we're explicitly told not to. # Don't surface if the test was recently added and we're still within its # grace period.
True if the failure should be surfaced, i.e. the test should fail,
otherwise False.
True if the failure should be surfaced i . e . the test should fail otherwise False .
self
page
The GPU PixelTestPage object for the test.
The GPU PixelTestPage object for the test .