Control: forwarded -1 https://code.djangoproject.com/ticket/31850
Control: tags -1 + fixed-upstream

On Sat, Dec 26, 2020 at 10:45:33PM +0100, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
> > ======================================================================
> > FAIL: test_extraction_warning (i18n.test_extraction.BasicExtractorTests)
> > test xgettext warning about multiple bare interpolation placeholders
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/usr/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
> >     yield
> >   File "/usr/lib/python3.9/unittest/case.py", line 593, in run
> >     self._callTestMethod(testMethod)
> >   File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
> >     method()
> >   File "/<<PKGBUILDDIR>>/tests/i18n/test_extraction.py", line 223, in 
> > test_extraction_warning
> >     self.assertIn("code_sample.py:4", out.getvalue())
> >   File "/usr/lib/python3.9/unittest/case.py", line 1098, in assertIn
> >     self.fail(self._formatMessage(msg, standardMsg))
> >   File "/usr/lib/python3.9/unittest/case.py", line 670, in fail
> >     raise self.failureException(msg)
> > AssertionError: 'code_sample.py:4' not found in 'processing locale de\n'

This was fixed upstream, here is the commit which should help:

https://github.com/django/django/commit/e893c0ad8b0b5b0a

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to