aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_lib2to3/data/different_encoding.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-21 15:21:22 +0200
committerGitHub <noreply@github.com>2022-06-21 15:21:22 +0200
commit616fa3465d99a262dc8948ff5e00e47fe92eaaba (patch)
treefda7c1d51f6e239a6b3c5ef35f5e4d7252cc5ad1 /Lib/test/test_lib2to3/data/different_encoding.py
parent50ebd72fb0e69c78f95cea3d4a47589beb91ac37 (diff)
downloadcpython-616fa3465d99a262dc8948ff5e00e47fe92eaaba.tar.gz
cpython-616fa3465d99a262dc8948ff5e00e47fe92eaaba.zip
gh-54781: Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/ (#94049)
* Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/. * Remove Lib/test/test_lib2to3.py. * Update imports. * all_project_files(): use different paths and sort files to make the tests more reproducible. * Update references to tests.
Diffstat (limited to 'Lib/test/test_lib2to3/data/different_encoding.py')
-rwxr-xr-xLib/test/test_lib2to3/data/different_encoding.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_lib2to3/data/different_encoding.py b/Lib/test/test_lib2to3/data/different_encoding.py
new file mode 100755
index 00000000000..9f32bd04dc2
--- /dev/null
+++ b/Lib/test/test_lib2to3/data/different_encoding.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+print u'ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ'
+
+def f(x):
+ print '%s\t-> α(%2i):%s β(%s)'