Message339944
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. |
|
Date |
User |
Action |
Args |
2019-04-11 08:23:41 | methane | set | recipients:
+ methane, vstinner, docs@python, lukasz.langa, mdk |
2019-04-11 08:23:41 | methane | link | issue36597 messages |
2019-04-11 08:23:41 | methane | create | |
|