content/test/gpu/flake_suppressor/data_types_unittest.py
def testAppliesToResultNonResult(self):
    """Tests that AppliesToResult properly fails when given a non-Result."""
    e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
    with self.assertRaises(AssertionError):
      e.AppliesToResult(None)
Tests that AppliesToResult properly fails when given a non-Result.
Tests that AppliesToResult properly fails when given a non-Result.
Tests that AppliesToResult properly fails when given a non - Result .
def testAppliesToResultNonResult(self):
    e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
    with self.assertRaises(AssertionError):
      e.AppliesToResult(None)
def testAppliesToResultNonResult ( self ) : e = data_types . Expectation ( 'test' , [ 'win' , 'nvidia' ] , [ 'Failure' ] ) with self . assertRaises ( AssertionError ) : e . AppliesToResult ( None )
Tests that AppliesToResult properly fails when given a non-Result.
Tests that AppliesToResult properly fails when given a non - Result .
"""Tests that AppliesToResult properly fails when given a non-Result."""
self