Lib/test/tokenizedata/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
raw| 1 | # -*- coding: latin1 -*- |
| 2 | # IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf' |
| 3 | # at the start of it. Make sure this is preserved if any changes |
| 4 | # are made! Also note that the coding cookie above conflicts with |
| 5 | # the presence of a utf-8 BOM signature -- this is intended. |
| 6 | |
| 7 | # Arbitrary encoded utf-8 text (stolen from test_doctest2.py). |
| 8 | x = 'ЉЊЈЁЂ' |
| 9 | def y(): |
| 10 | """ |
| 11 | And again in a comment. ЉЊЈЁЂ |
| 12 | """ |
| 13 | pass |