mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Recode modules from latin-1 to utf-8
This commit is contained in:
parent
6b03ee6033
commit
d72402effc
4 changed files with 9 additions and 12 deletions
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: iso-8859-1 -*-
|
||||
import unittest
|
||||
import os, sys, io
|
||||
import shlex
|
||||
|
@ -68,7 +67,7 @@ foo\ x\x\""|foo|\|x|\|x|\|""|
|
|||
foo\ bar|foo|\|bar|
|
||||
foo#bar\nbaz|foobaz|
|
||||
:-) ;-)|:|-|)|;|-|)|
|
||||
ביםףת|ב|י|ם|ף|ת|
|
||||
áéíóú|á|é|í|ó|ú|
|
||||
"""
|
||||
|
||||
posix_data = r"""x|x|
|
||||
|
@ -132,7 +131,7 @@ foo\ x\x\"|foo xx"|
|
|||
foo\ bar|foo bar|
|
||||
foo#bar\nbaz|foo|baz|
|
||||
:-) ;-)|:-)|;-)|
|
||||
ביםףת|ביםףת|
|
||||
áéíóú|áéíóú|
|
||||
"""
|
||||
|
||||
class ShlexTest(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue