Skip to content

Instantly share code, notes, and snippets.

@danielroseman
Created May 12, 2010 15:10
Show Gist options
  • Save danielroseman/398694 to your computer and use it in GitHub Desktop.
Save danielroseman/398694 to your computer and use it in GitHub Desktop.
33a34> failfast = options.get('failfast', False)
65,66c66,73
< failures = test_runner(test_labels, verbosity=verbosity,
< interactive=interactive)
---
> if hasattr(test_runner, 'run_tests'):
> test_runner = test_runner(verbosity=verbosity,
> interactive=interactive,
> failfast=failfast)
> failures = test_runner.run_tests(test_labels)
> else:
> failures = test_runner(test_labels, verbosity=verbosity,
> interactive=interactive)
68c75
< sys.exit(failures)
\ No newline at end of file
---
> sys.exit(failures)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment