Django is failing its test suite on the staging branch:

https://hydra.gnu.org/job/gnu/staging/python-django-1.10.3.x86_64-linux
https://hydra.gnu.org/job/gnu/staging/python-django-1.10.3.i686-linux

I can reproduce this on my own machine, but I'm not sure what the
problem is.

Does anyone have any ideas?

Here are the failing tests:

======================================================================
FAIL: test_timeuntil08 
(template_tests.filter_tests.test_timeuntil.TimeuntilTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 58, in testPartExecutor
    yield
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 600, in run
    testMethod()
  File 
"/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/django/test/utils.py",
 line 205, in inner
    return func(*args, **kwargs)
  File 
"/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/template_tests/utils.py",
 line 61, in inner
    func(self)
  File 
"/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/template_tests/filter_tests/test_timeuntil.py",
 line 66, in test_timeuntil08
    self.assertEqual(output, '1\xa0week')
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 820, in assertEqual
    assertion_func(first, second, msg=msg)
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 813, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: '1\xa0week, 1\xa0day' != '1\xa0week'

======================================================================
FAIL: test_timeuntil09 
(template_tests.filter_tests.test_timeuntil.TimeuntilTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 58, in testPartExecutor
    yield
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 600, in run
    testMethod()
  File 
"/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/django/test/utils.py",
 line 205, in inner
    return func(*args, **kwargs)
  File 
"/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/template_tests/utils.py",
 line 61, in inner
    func(self)
  File 
"/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/template_tests/filter_tests/test_timeuntil.py",
 line 71, in test_timeuntil09
    self.assertEqual(output, '1\xa0week')
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 820, in assertEqual
    assertion_func(first, second, msg=msg)
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 813, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: '1\xa0week, 1\xa0day' != '1\xa0week'

======================================================================
FAIL: test_both_date_objects (utils_tests.test_timesince.TimesinceTests)
Timesince should work with both date objects (#9672)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 58, in testPartExecutor
    yield
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 600, in run
    testMethod()
  File 
"/tmp/guix-build-python-django-1.10.3.drv-0/Django-1.10.3/tests/utils_tests/test_timesince.py",
 line 106, in test_both_date_objects
    self.assertEqual(timeuntil(today + self.oneweek, today), '1\xa0week')
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 820, in assertEqual
    assertion_func(first, second, msg=msg)
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 1193, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File 
"/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/lib/python3.5/unittest/case.py",
 line 665, in fail
    raise self.failureException(msg)
AssertionError: '1\xa0week, 1\xa0day' != '1\xa0week'
- 1??week, 1 day
+ 1 week


----------------------------------------------------------------------
Ran 11263 tests in 107.254s

FAILED (failures=3, skipped=1122, expected failures=4)
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
Destroying test database for alias 'other'...
phase `check' failed after 137.8 seconds

Attachment: signature.asc
Description: PGP signature

Reply via email to