parameters: (self)
return_statement: return self.assert_consumed()
docstring: Raises an exception if currently created objects are unmatched.
docstring_summary: Raises an exception if currently created objects are unmatched.
docstring_tokens: Raises an exception if currently created objects are unmatched .
function: def assert_nontrivial_match(self):
      """Raises an exception if currently created objects are unmatched."""
      # For name-based checkpoints there's no object information in the
      # checkpoint, so there's no distinction between
      # assert_nontrivial_match and assert_consumed (and both are less
      # useful since we don't touch Python objects or Python state).
      return self.assert_consumed()
function_tokens: def assert_nontrivial_match ( self ) : # For name-based checkpoints there's no object information in the # checkpoint, so there's no distinction between # assert_nontrivial_match and assert_consumed (and both are less # useful since we don't touch Python objects or Python state). return self . assert_consumed ( )