[Python-checkins] python/dist/src/Lib/test test_pep263.py,1.1,1.2

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sun, 08 Sep 2002 23:17:07 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv964/Lib/test

Modified Files:
	test_pep263.py 
Log Message:
Fix escaping of non-ASCII characters.


Index: test_pep263.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pep263.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_pep263.py	5 Aug 2002 01:32:09 -0000	1.1
--- test_pep263.py	9 Sep 2002 06:17:05 -0000	1.2
***************
*** 1,2 ****
--- 1,3 ----
  #! -*- coding: koi8-r -*-
  assert u"ðÉÔÏÎ".encode("utf-8") == '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'
+ assert u"\ð".encode("utf-8") == '\\\xd0\x9f'