New submission from Nikita Sobolev <m...@sobolevn.me>:
Looks like we never test error that `markers` are limited to `None` and `dict` types. Here: https://github.com/python/cpython/blob/main/Modules/_json.c#L1252-L1255 Coverage report: https://app.codecov.io/gh/python/cpython/blob/master/Modules/_json.c line: 1252 I will submit a unit test for it today. Related: https://bugs.python.org/issue6986 ---------- components: Tests messages: 402482 nosy: sobolevn priority: normal severity: normal status: open title: c_make_encoder() has uncovered error: "argument 1 must be dict or None" type: behavior versions: Python 3.10, Python 3.11, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45269> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com