Emmanuel Arias <emmanuelaria...@gmail.com> added the comment:
Sorry I was wrong. On ```python foo = OrderedDict() foo['a'] = object() foo['b'] = 'something' ``` I was write "first" and "second" like key and fail in ```python @patch.dict(foo, OrderedDict(update_values)) def test(): self.assertEqual(list(foo), sorted(foo)) test() ``` Sorry. Now I am sending the PR ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue24928> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com