def with_args(self, **kwargs):
    """Send these keyword-arguments to the phase when called."""
    # Make a copy so we can have multiple of the same phase with different args
    # in the same test.
    new_info = mutablerecords.CopyRecord(self)
    new_info.options = new_info.options.format_strings(**kwargs)
    new_info.extra_kwargs.update(kwargs)
    new_info.measurements = [m.with_args(**kwargs) for m in self.measurements]
    return new_info
def with_args ( self , ** kwargs ) : new_info = mutablerecords . CopyRecord ( self ) new_info . options = new_info . options . format_strings ( ** kwargs ) new_info . extra_kwargs . update ( kwargs ) new_info . measurements = [ m . with_args ( ** kwargs ) for m in self . measurements ] return new_info
Send these keyword-arguments to the phase when called.