#3396: test_client unittest fails under python 2.3
-------------------------------------------------+--------------------------
   Reporter:  Robert Myers <[EMAIL PROTECTED]>  |                Owner:  adrian 
         
     Status:  new                                |            Component:  Unit 
test system
    Version:  SVN                                |           Resolution:        
          
   Keywords:                                     |                Stage:  
Accepted        
  Has_patch:  1                                  |           Needs_docs:  0     
          
Needs_tests:  0                                  |   Needs_better_patch:  1     
          
-------------------------------------------------+--------------------------
Comment (by [EMAIL PROTECTED]):

 The fourth error that I was experiencing when running the tests under 2.3
 was:
 
 {{{
 ======================================================================
 ERROR: Doctest: regressiontests.forms.tests
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/Users/andy/Projects/django-trunk-base/django/test/doctest.py",
 line 2150, in runTest
     failures, tries = runner.run(
   File "/Users/andy/Projects/django-trunk-base/django/test/doctest.py",
 line 1379, in run
     return self.__run(test, compileflags, out)
   File "/Users/andy/Projects/django-trunk-base/django/test/doctest.py",
 line 1267, in __run
     got += _exception_traceback(exc_info)
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 259:
 ordinal not in range(128)
 }}}
 
 The failure is in the last test for RadioSelectWidget.  I was testing with
 the following settings:
 
 {{{
 DEBUG = True
 
 DATABASE_ENGINE = 'mysql'           # 'postgresql', 'mysql', 'sqlite3' or
 'ado_mssql'.
 DATABASE_NAME = 'test'             # Or path to database file if using
 sqlite3.
 DATABASE_USER = 'root'             # Not used with sqlite3.
 DATABASE_PASSWORD = ''         # Not used with sqlite3.
 DATABASE_HOST = ''             # Set to empty string for localhost. Not
 used with sqlite3.
 DATABASE_PORT = ''             # Set to empty string for default. Not used
 with sqlite3.
 
 ROOT_URLCONF = None
 
 SITE_ID = 1
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3396#comment:5>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to