<s> from __future__ import unicode_literals <EOL> import logging <EOL> try : <EOL> from django . test . runner import DiscoverRunner as DefaultRunner <EOL> except ImportError : <EOL> from django . test . simple import DjangoTestSuiteRunner as DefaultRunner <EOL> class NoLoggingRunner ( DefaultRunner ) : <EOL> def run_tests ( self , test_labels , extra_tests = None , ** kwargs ) : <EOL> logging . disable ( logging . CRITICAL ) <EOL> return super ( NoLoggingRunner , self ) . run_tests ( test_labels , <EOL> extra_tests , <EOL> ** kwargs ) </s>
