old_contents: #! /usr/bin/env python
  """From http://stackoverflow.com/a/12260597/400691."""
  import sys
  
  import dj_database_url
  import django
  from colour_runner.django_runner import ColourRunnerMixin
  from django.conf import settings
  from django.test.runner import DiscoverRunner
  
  
  settings.configure(
      DATABASES={'default': dj_database_url.config(
          default='postgres://localhost/conman',
      )},
      DEFAULT_FILE_STORAGE='inmemorystorage.InMemoryStorage',
      INSTALLED_APPS=(
          # Put contenttypes before auth to work around test issue.
          # See: https://code.djangoproject.com/ticket/10827#comment:12
          'conman.cms',
          'conman.routes',
          'conman.pages',
          'conman.redirects',
  
          'mptt',
          'polymorphic',
          'polymorphic_tree',
  
          'django.contrib.admin',
          'django.contrib.auth',
          'django.contrib.contenttypes',
          'django.contrib.sessions',
          'django.contrib.sites',
      ),
      PASSWORD_HASHERS=('django.contrib.auth.hashers.MD5PasswordHasher',),
      SITE_ID=1,
      ROOT_URLCONF='conman.tests.urls',
      MIDDLEWARE_CLASSES=(),
  )
  
  
  django.setup()
  
  
  class TestRunner(ColourRunnerMixin, DiscoverRunner):
      """Enable coloured output for tests."""
  
  
  test_runner = TestRunner(verbosity=1)
  failures = test_runner.run_tests(['conman'])
  if failures:
      sys.exit(1)
  
new_contents: #! /usr/bin/env python
  """From http://stackoverflow.com/a/12260597/400691."""
  import sys
  
  import dj_database_url
  import django
  from colour_runner.django_runner import ColourRunnerMixin
  from django.conf import settings
  from django.test.runner import DiscoverRunner
  
  
  settings.configure(
      DATABASES={'default': dj_database_url.config(
          default='postgres://localhost/conman',
      )},
      DEFAULT_FILE_STORAGE='inmemorystorage.InMemoryStorage',
      INSTALLED_APPS=(
          'conman.cms',
          'conman.routes',
          'conman.pages',
          'conman.redirects',
  
          'mptt',
          'polymorphic',
          'polymorphic_tree',
  
          'django.contrib.admin',
          'django.contrib.auth',
          'django.contrib.contenttypes',
          'django.contrib.sessions',
          'django.contrib.sites',
      ),
      PASSWORD_HASHERS=('django.contrib.auth.hashers.MD5PasswordHasher',),
      SITE_ID=1,
      ROOT_URLCONF='conman.tests.urls',
      MIDDLEWARE_CLASSES=(),
  )
  
  
  django.setup()
  
  
  class TestRunner(ColourRunnerMixin, DiscoverRunner):
      """Enable coloured output for tests."""
  
  
  test_runner = TestRunner(verbosity=1)
  failures = test_runner.run_tests(['conman'])
  if failures:
      sys.exit(1)
  
subject: Remove incorrect comment in test runner