Hi,

after I've updated to svn release 10604, django's test suite fails
with this message, using sqlite3 and python 2.6 on windows xp:

Failures are also located in http://dpaste.com/34864/

Failure 1 is the same as http://code.djangoproject.com/ticket/6802
which is now closed.

Failure 3 is documented in http://code.djangoproject.com/ticket/10843

Any help with Failures 1 and 2 would be greatly appreciated.

Thanks,
Jeff

======================================================================
FAIL: Doctest:
regressiontests.admin_widgets.models.__test__.WIDGETS_TESTS
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\django\test\_doctest.py", line
2180, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for
regressiontests.admin_widgets.models.__test__.WIDGETS_TESTS
  File "C:\djangosource\django-latest\trunk\tests\regressiontests
\admin_widgets\models.py", line unknown line number, in WIDGETS_TESTS

----------------------------------------------------------------------
File "C:\djangosource\django-latest\trunk\tests\regressiontests
\admin_widgets\models.py", line ?, in
regressiontests.admin_widgets.models.__test__.WIDGETS_TESTS
Failed example:
    print conditional_escape(w.render('test', album.cover_art))
Expected:
    Currently: <a target="_blank" href="C:/djangoproj/media/albums/
hybrid_theory.jpg">albums\hybrid_theory.jpg</a> <br />Change: <input
type="file" name="test" />
Got:
    Currently: <a target="_blank" href="albums/
hybrid_theory.jpg">albums\hybrid_theory.jpg</a> <br />Change: <input
type="file" name="test" />


======================================================================
FAIL: Doctest: regressiontests.file_storage.models.__test__.API_TESTS
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\django\test\_doctest.py", line
2180, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for
regressiontests.file_storage.models.__test__.API_TESTS
  File "C:\djangosource\django-latest\trunk\tests\regressiontests
\file_storage\models.py", line unknown line number, in API_TESTS

----------------------------------------------------------------------
File "C:\djangosource\django-latest\trunk\tests\regressiontests
\file_storage\models.py", line ?, in
regressiontests.file_storage.models.__test__.API_TESTS
Failed example:
    shutil.rmtree(temp_storage_dir)
Exception raised:
    Traceback (most recent call last):
      File "C:\Python26\lib\site-packages\django\test\_doctest.py",
line 1267, in __run
        compileflags, 1) in test.globs
      File "<doctest
regressiontests.file_storage.models.__test__.API_TESTS[26]>", line 1,
in <module>
        shutil.rmtree(temp_storage_dir)
      File "C:\Python26\lib\shutil.py", line 216, in rmtree
        rmtree(fullname, ignore_errors, onerror)
      File "C:\Python26\lib\shutil.py", line 221, in rmtree
        onerror(os.remove, fullname, sys.exc_info())
      File "C:\Python26\lib\shutil.py", line 219, in rmtree
        os.remove(fullname)
    WindowsError: [Error 32] The process cannot access the file
because it is being used by another process: 'c:\\temp\\tmpuktpwh\
\tests\\mug'


======================================================================
FAIL: test_textile (django.contrib.markup.tests.Templates)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\django\contrib\markup\tests.py",
line 27, in test_textile
    <p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></
p>""")
AssertionError: u'<p>Paragraph 1</p>\n\n\t<p>Paragraph 2 with
&#8220;quotes&#8221; and <code>code</code></p>' != '<p>Paragraph 1</p>
\n\n<p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></
p>'

----------------------------------------------------------------------
Ran 789 tests in 189.704s

FAILED (failures=3)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to