diff options
| author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-11-20 19:40:56 +0100 |
|---|---|---|
| committer | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-11-20 19:47:01 +0100 |
| commit | 069dca9c534bf380659da7fc7a1a83476419a2da (patch) | |
| tree | a031414044ff0d0fd1e5c8a7f0198bdc446b2e2c /setuptools/tests | |
| parent | 59ee4980a0f49ea610e26a1aca104334ae03d140 (diff) | |
| download | python-setuptools-git-069dca9c534bf380659da7fc7a1a83476419a2da.tar.gz | |
The default encoding of Python sources is UTF-8
Python 3 assumes the encoding is UTF-8 by default, and so do or should
do tools such as text editors when opening Python files.
No need to explicitly set `*- coding: utf-8 -*-`.
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/script-with-bom.py | 4 | ||||
| -rw-r--r-- | setuptools/tests/test_manifest.py | 1 | ||||
| -rw-r--r-- | setuptools/tests/test_msvc14.py | 1 | ||||
| -rw-r--r-- | setuptools/tests/test_wheel.py | 2 |
4 files changed, 1 insertions, 7 deletions
diff --git a/setuptools/tests/script-with-bom.py b/setuptools/tests/script-with-bom.py index 22dee0d2..93d28f16 100644 --- a/setuptools/tests/script-with-bom.py +++ b/setuptools/tests/script-with-bom.py @@ -1,3 +1 @@ -# -*- coding: utf-8 -*- - -result = 'passed' +result = 'passed' diff --git a/setuptools/tests/test_manifest.py b/setuptools/tests/test_manifest.py index ecc83c2f..4a8789ae 100644 --- a/setuptools/tests/test_manifest.py +++ b/setuptools/tests/test_manifest.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """sdist tests""" import contextlib diff --git a/setuptools/tests/test_msvc14.py b/setuptools/tests/test_msvc14.py index 1aca12dd..271d6be5 100644 --- a/setuptools/tests/test_msvc14.py +++ b/setuptools/tests/test_msvc14.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ Tests for msvc support module (msvc14 unit tests). """ diff --git a/setuptools/tests/test_wheel.py b/setuptools/tests/test_wheel.py index 89d65d0b..b2bbdfae 100644 --- a/setuptools/tests/test_wheel.py +++ b/setuptools/tests/test_wheel.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - """wheel tests """ |
