diff options
author | Inada Naoki <songofacandy@gmail.com> | 2020-01-20 04:54:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 04:54:00 (GMT) |
commit | 5492bfcefec67b016e8239c0e9135bc2f03e3058 (patch) | |
tree | 4f37014e587cdec0340a77e65db720bdf83e094e /Lib/test/test_json/test_decode.py | |
parent | e96d954527aa376457451e32a9d75ae3ea9ab4bd (diff) | |
download | cpython-5492bfcefec67b016e8239c0e9135bc2f03e3058.zip cpython-5492bfcefec67b016e8239c0e9135bc2f03e3058.tar.gz cpython-5492bfcefec67b016e8239c0e9135bc2f03e3058.tar.bz2 |
bpo-39377: json: Remove the encoding option. (GH-18075)
Diffstat (limited to 'Lib/test/test_json/test_decode.py')
-rw-r--r-- | Lib/test/test_json/test_decode.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_json/test_decode.py b/Lib/test/test_json/test_decode.py index 895c95b..fdb9e62 100644 --- a/Lib/test/test_json/test_decode.py +++ b/Lib/test/test_json/test_decode.py @@ -95,9 +95,5 @@ class TestDecode: d = self.json.JSONDecoder() self.assertRaises(ValueError, d.raw_decode, 'a'*42, -50000) - def test_deprecated_encode(self): - with self.assertWarns(DeprecationWarning): - self.loads('{}', encoding='fake') - class TestPyDecode(TestDecode, PyTest): pass class TestCDecode(TestDecode, CTest): pass |