summaryrefslogtreecommitdiffstats
path: root/Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt')
-rw-r--r--Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt b/Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
new file mode 100644
index 0000000..d6d8d49
--- /dev/null
+++ b/Lib/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
@@ -0,0 +1,11 @@
+# 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!
+
+# Arbitrary encoded utf-8 text (stolen from test_doctest2.py).
+x = 'ЉЊЈЁЂ'
+def y():
+ """
+ And again in a comment. ЉЊЈЁЂ
+ """
+ pass