<s> from django . contrib import admin <EOL> from django . utils . unittest import TestCase <EOL> class Bug8245Test ( TestCase ) : <EOL> """<STR_LIT>""" <EOL> def test_bug_8245 ( self ) : <EOL> try : <EOL> admin . autodiscover ( ) <EOL> except Exception , e : <EOL> self . assertEqual ( str ( e ) , "<STR_LIT>" ) <EOL> else : <EOL> self . fail ( <EOL> '<STR_LIT>' ) <EOL> try : <EOL> admin . autodiscover ( ) <EOL> except Exception , e : <EOL> self . assertEqual ( str ( e ) , "<STR_LIT>" ) <EOL> else : <EOL> self . fail ( <EOL> '<STR_LIT>' ) </s>
