FTBFS: test failures

Bug #445639 reported by LaMont Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Django
Fix Released
Unknown
python-django (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: python-django

During rebuild testing:

======================================================================
FAIL: Doctest: regressiontests.defaultfilters.tests
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/python-django-1.1/django/test/_doctest.py", line 2180, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for regressiontests.defaultfilters.tests
  File "/build/buildd/python-django-1.1/tests/regressiontests/defaultfilters/tests.py", line 2, in tests

----------------------------------------------------------------------
File "/build/buildd/python-django-1.1/tests/regressiontests/defaultfilters/tests.py", line 53, in regressiontests.defaultfilters.tests
Failed example:
    floatformat(nan) == unicode(nan)
Exception raised:
    Traceback (most recent call last):
      File "/build/buildd/python-django-1.1/django/test/_doctest.py", line 1267, in __run
        compileflags, 1) in test.globs
      File "<doctest regressiontests.defaultfilters.tests[26]>", line 1, in <module>
        floatformat(nan) == unicode(nan)
      File "/build/buildd/python-django-1.1/django/template/defaultfilters.py", line 164, in floatformat
        m = int(d) - d
      File "/usr/lib/python2.6/decimal.py", line 1515, in __int__
        raise ValueError("Cannot convert NaN to integer")
    ValueError: Cannot convert NaN to integer

----------------------------------------------------------------------
Ran 859 tests in 408.553s

FAILED (failures=1)

LaMont Jones (lamont)
Changed in python-django (Ubuntu):
milestone: none → ubuntu-9.10
Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

Confirmed with the current SVN version, forwarded upstream.

Changed in python-django (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Changed in django:
status: Unknown → New
Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

Commented in upstream ticket about possible cause of this bug, marking as triaged.

Changed in python-django (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-django - 1.1.1-1ubuntu1

---------------
python-django (1.1.1-1ubuntu1) karmic; urgency=low

  * Merge python-django 1.1.1-1 from debian unstable (LP: #447617)
    for security and bug fixes, all Ubuntu changes merged by Debian.
  * Add to debian/patches:
    - 20_python2.6.3_regression.patch - backported upstream commit 11620
      to make Django work with Python 2.6.3 properly. (LP: #445639)

python-django (1.1.1-1) unstable; urgency=high

  * New upstream security release - fixes pathological regular expression
    backtracking performance in URL and email fields which can be used as part
    of a denial of service attack.
  * Set Maintainer: to myself with thanks to Brett Parker.
  * Bump versioned build dependency on quilt to help backporters.
    (Closes: #547955)

python-django (1.1-4) unstable; urgency=low

  * Sourceful upload to drop dependency on Python 2.4.

python-django (1.1-3) unstable; urgency=low

  * Disable regression tests that require an internet connection. Patch by
    Krzysztof Klimonda <email address hidden>. (Closes: #542996)
  * Bump Standards-Version to 3.8.3.

 -- Krzysztof Klimonda <email address hidden> Mon, 12 Oct 2009 19:22:16 +0200

Changed in python-django (Ubuntu):
status: Triaged → Fix Released
Changed in django:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.