Inada Naoki <songofaca...@gmail.com> added the comment:
On Thu, Apr 11, 2019 at 11:49 AM STINNER Victor <rep...@bugs.python.org> wrote: > > 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'> I'm not sure where "obj is dead or exiting" came from. > File "library/datetime.rst", line 686, in default > Failed example: > d.strftime("%A %d. %B %Y") > Expected: > 'Monday 11. March 2002' > Got: > 'lundi 11. mars 2002' It seems it is caused by non English locale. > File "library/collections.rst", line 914, in default > Failed example: > p._asdict() > Expected: > {'x': 11, 'y': 22} > Got: > OrderedDict([('x', 11), ('y', 22)]) You may run doctest with existing Python, not Python 3.8. > File "library/unittest.mock.rst", line ?, in default > Failed example: > mock.call_args.args > Expected: > (3, 4) > Got: > args I'm not sure about this. -- Inada Naoki <songofaca...@gmail.com> ---------- nosy: +inada.naoki _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36597> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com