New submission from Eric Appelt: Increase test coverage of the json library, specifically the detect_encoding() function in the __init__ module, which is used to handle the autodetection of the encoding of a bytes object passed to json.loads().
This function was added in issue 17909 which extended the json.loads() function to accept bytes. Note that this is a small patch as I am following section 5 of the developer guide and I am trying to acquaint myself with the process as a first time contributor. I found this missing coverage just by semi-randomly looking at individual modules of interest. Please let me know if I have made any general mistakes in constructing this ticket. Thanks! ---------- components: Tests files: mywork.patch keywords: patch messages: 279521 nosy: Eric Appelt priority: normal severity: normal status: open title: Improve test coverage for json library - loading bytes versions: Python 3.6 Added file: http://bugs.python.org/file45234/mywork.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28541> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com