This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients docs@python, lukasz.langa, mdk, methane, vstinner
Date 2019-04-11.08:23:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAEfz+TxJ1118Bi4=AYwkcKA0Xid_yJPchNUHv_diNZ2nnuyjzQ@mail.gmail.com>
In-reply-to <1554970756.8.0.388766404616.issue36597@roundup.psfhosted.org>
Content
On Thu, Apr 11, 2019 at 5:19 PM STINNER Victor <report@bugs.python.org> wrote:
> Really? When I click on https://travis-ci.org/python/cpython/jobs/518572326 (the second link of my first message), I still see:
>
> """
> Warning, treated as error:
> **********************************************************************
> File "library/unittest.mock-examples.rst", line ?, in default
> Failed example:
>     m.one().two().three()
> Expected:
>     <MagicMock name='mock.one().two().three()' id='...'>
> Got:
>     obj dead or exiting
>     <MagicMock name='mock.one().two().three()' id='140222049958880'>
> Makefile:44: recipe for target 'build' failed
> make[1]: *** [build] Error 2
> """
>
> This error comes from Travis CI.

It is "obj dead or exiting" error.  I didn't say it is caused by your
environment.
It is only error happened in Travis.

>
> > I suspect your environment (locale and venv used to run doctest), not your changes.
>
> You can ignore the date failure, but how is the following error related to my environment?
>
> """
> File "library/collections.rst", line 914, in default
> Failed example:
>     p._asdict()
> Expected:
>     {'x': 11, 'y': 22}
> Got:
>     OrderedDict([('x', 11), ('y', 22)])

namedtuple._asdict() changed to return dict instead of OrderedDict.
If your venv is created before the change, this error can be happened.
History
Date User Action Args
2019-04-11 08:23:41methanesetrecipients: + methane, vstinner, docs@python, lukasz.langa, mdk
2019-04-11 08:23:41methanelinkissue36597 messages
2019-04-11 08:23:41methanecreate