Skip to content

Commit 905ab94

Browse files
committed
Link to github issue
1 parent 10923b2 commit 905ab94

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Lib/test/test_json/test_decode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def test_float(self):
1717
self.assertEqual(rval, 1.0)
1818

1919
def test_nonascii_digits_rejected(self):
20+
# JSON specifies only ascii digits, see gh-125687
2021
for num in ["1\uff10", "0.\uff10", "0e\uff10"]:
2122
with self.assertRaises(self.JSONDecodeError):
2223
self.loads(num)
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Reject non-ASCII digits in the Python implementation of :func:`json.loads`.
1+
Reject non-ASCII digits in the Python implementation of :func:`json.loads`
2+
conforming to the json specification.

0 commit comments

Comments
 (0)