old_contents: from functools import partial
  
  from mamba.example_group import ExampleGroup, PendingExampleGroup
  from mamba.example import Example, PendingExample
  
  IRRELEVANT_SUBJECT='irrelevant subject'
  
  
  def an_example_group(subject=IRRELEVANT_SUBJECT):
      return ExampleGroup(IRRELEVANT_SUBJECT)
  
  
  def a_pending_example_group(subject=IRRELEVANT_SUBJECT):
      return PendingExampleGroup(IRRELEVANT_SUBJECT)
  
  
  def an_example(context):
      return Example(partial(_successful_test, context))
  
  
  def a_pending_example(context):
      return PendingExample(partial(_successful_test, context))
  
  
  def _successful_test(context):
      context.was_run = True
  
  
  def a_failing_example():
      return Example(_failing_test)
  
  
  def _failing_test():
      raise ValueError()
  
new_contents: from functools import partial
  
  from mamba.example_group import ExampleGroup, PendingExampleGroup
  from mamba.example import Example, PendingExample
  
  IRRELEVANT_SUBJECT='irrelevant subject'
  
  
  def an_example_group(subject=IRRELEVANT_SUBJECT):
      return ExampleGroup(IRRELEVANT_SUBJECT)
  
  
  def a_pending_example_group(subject=IRRELEVANT_SUBJECT):
      return PendingExampleGroup(IRRELEVANT_SUBJECT)
  
  
  def an_example(context):
      return Example(partial(_successful_test, context))
  
  
  def a_pending_example(context):
      return PendingExample(partial(_successful_test, context))
  
  
  def _successful_test(context):
      context.was_run = True
  
  
  def a_failing_example():
      return Example(_failing_test)
  
  
  def _failing_test():
      raise ValueError()
  
  
subject: Add a line to end of file