diff options
Diffstat (limited to 'Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt')
-rw-r--r-- | Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt b/Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt new file mode 100644 index 0000000..4a7582a --- /dev/null +++ b/Lib/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt @@ -0,0 +1,13 @@ +# -*- coding: latin1 -*-
+# IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
+# at the start of it. Make sure this is preserved if any changes
+# are made! Also note that the coding cookie above conflicts with
+# the presense of a utf-8 BOM signature -- this is intended.
+
+# Arbitrary encoded utf-8 text (stolen from test_doctest2.py).
+x = 'ЉЊЈЁЂ'
+def y():
+ """
+ And again in a comment. ЉЊЈЁЂ
+ """
+ pass
|