Message 339944 - Python tracker (original) (raw)
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: Got: obj dead or exiting 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.