diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-04-14 12:27:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-14 12:27:29 (GMT) |
commit | 0c0b2309fb1504be1ba043a52fa12c1eb9588f8f (patch) | |
tree | 6b51171f0a85cee986b066549317e6b6f7102d74 /Lib/test/test_json/test_fail.py | |
parent | b6cb36574d0bdf9c4aa2250640d2a2f284ba7bb9 (diff) | |
download | cpython-0c0b2309fb1504be1ba043a52fa12c1eb9588f8f.zip cpython-0c0b2309fb1504be1ba043a52fa12c1eb9588f8f.tar.gz cpython-0c0b2309fb1504be1ba043a52fa12c1eb9588f8f.tar.bz2 |
[3.12] gh-115692: Add tests to increase `json` coverage (GH-115693) (#117867)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Diffstat (limited to 'Lib/test/test_json/test_fail.py')
-rw-r--r-- | Lib/test/test_json/test_fail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_json/test_fail.py b/Lib/test/test_json/test_fail.py index efc982e..63b818f 100644 --- a/Lib/test/test_json/test_fail.py +++ b/Lib/test/test_json/test_fail.py @@ -89,7 +89,7 @@ class TestFail: except self.JSONDecodeError: pass else: - self.fail("Expected failure for fail{0}.json: {1!r}".format(idx, doc)) + self.fail(f"Expected failure for fail{idx}.json: {doc!r}") def test_non_string_keys_dict(self): data = {'a' : 1, (1, 2) : 2} |