cpython/Lib/test/test_pep263.py

4 lines
149 B
Python
Raw Normal View History

#! -*- coding: koi8-r -*-
assert u"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>".encode("utf-8") == '\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd'
2002-09-09 03:17:05 -03:00
assert u"\<EFBFBD>".encode("utf-8") == '\\\xd0\x9f'