[dts][PATCH V1] tests/telemetry: Optimize the parameter for function json.load

lijuan.tu at intel.com lijuan.tu at intel.com
Wed Jun 7 07:53:00 CEST 2023


On Fri, 26 May 2023 14:08:12 +0000, Dukai Yuan <dukaix.yuan at intel.com> wrote:
> In Python 3.10, the json.load() function removed the encoding parameter, 
> because in Python 3, the json module uses UTF-8 encoding by default to process JSON data. 
> As such, the encoding argument is no longer required, and has been removed in Python 3.10. 
> If you need to specify other encoding methods, 
> you can use the encoding parameter in the open() function to specify.
> Please refer to the Python official documentation for more details. 
> https://docs.python.org/3/library/json.html
> 
> Signed-off-by: Dukai Yuan <dukaix.yuan at intel.com>

Acked-by: Lijuan Tu <lijuan.tu at intel.com>
Applied, thanks


More information about the dts mailing list