def METHOD_NAME(self):
    rv = LintMatch({'foo': 'bar'})
    rv2 = rv._replace(foo='baz')
    self.assertEqual(rv2.foo, 'baz')
    # unlike namedtuple LintMatch is mutable
    self.assertEqual(rv.foo, 'baz')