Recode modules from latin-1 to utf-8

This commit is contained in:
Antoine Pitrou 2010-10-27 18:52:48 +00:00
parent 6b03ee6033
commit d72402effc
4 changed files with 9 additions and 12 deletions

View file

@ -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):