def check_test_runner():
 from django.conf import settings
 new_default = u'django.test.runner.DiscoverRunner'
 test_runner_setting = getattr(settings, u'TEST_RUNNER', new_default)
 if (test_runner_setting == new_default):
  message = [(u"Django 1.6 introduced a new default test runner ('%s')" % new_default), u'You should ensure your tests are all running & behaving as expected. See', u'https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner', u'for more information.']
  return u' '.join(message)

def check_test_runner ( ) : from django . conf import settings new_default = u'django.test.runner.DiscoverRunner' test_runner_setting = getattr ( settings , u'TEST_RUNNER' , new_default ) if ( test_runner_setting == new_default ) : message = [ ( u"Django 1.6 introduced a new default test runner ('%s')" % new_default ) , u'You should ensure your tests are all running & behaving as expected. See' , u'https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner' , u'for more information.' ] return u' ' . join ( message )
checks if the user has *not* overridden the test_runner setting & warns them about the default behavior changes .