summaryrefslogtreecommitdiffstats
path: root/Lib/test/tokenizedata/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-09-12 06:37:42 (GMT)
committerGitHub <noreply@github.com>2023-09-12 06:37:42 (GMT)
commit1110c5bc828218086f6397ec05a9312fb73ea30a (patch)
treee552ff4258e48bb6131e3b2cc2f8b397ee3e4cc0 /Lib/test/tokenizedata/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
parent8c813faf864ac1d788a3efc45b4e76c1c3c3b340 (diff)
downloadcpython-1110c5bc828218086f6397ec05a9312fb73ea30a.zip
cpython-1110c5bc828218086f6397ec05a9312fb73ea30a.tar.gz
cpython-1110c5bc828218086f6397ec05a9312fb73ea30a.tar.bz2
gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265)
Diffstat (limited to 'Lib/test/tokenizedata/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt')
-rw-r--r--Lib/test/tokenizedata/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Lib/test/tokenizedata/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt b/Lib/test/tokenizedata/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
new file mode 100644
index 0000000..4b20ff6
--- /dev/null
+++ b/Lib/test/tokenizedata/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
@@ -0,0 +1,12 @@
+# -*- coding: utf-8 -*-
+# 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