Skip to content

Commit 691aecd

Browse files
committed
Test unicode
1 parent 1acd35d commit 691aecd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_json/test_tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def test_colors(self):
269269
('-Infinity', b'\x1b[33m-Infinity\x1b[0m'),
270270
('"foo"', b'\x1b[32m"foo"\x1b[0m'),
271271
(r'" \"foo\" "', b'\x1b[32m" \\"foo\\" "\x1b[0m'),
272+
('"α"', b'\x1b[32m"\\u03b1"\x1b[0m'),
272273
('123', b'\x1b[33m123\x1b[0m'),
273274
('-1.2345e+23', b'\x1b[33m-1.2345e+23\x1b[0m'),
274275
(r'{"\\": ""}',

0 commit comments

Comments
 (0)