#7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd.
3 files changed