]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145)
authorInada Naoki <songofacandy@gmail.com>
Sun, 4 Apr 2021 00:01:23 +0000 (09:01 +0900)
committerGitHub <noreply@github.com>
Sun, 4 Apr 2021 00:01:23 +0000 (09:01 +0900)
commit35715d1e72b7e15e337087863c75af447199e0fb
tree2af3473ba410ffc4b83d74df4d0776814095f25d
parentdc6d3e1e4c0c1e4b2210edab8fb4762569dc2936
bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145)

* test_asyncio
* test_bz2
* test_math
* test_cmath
* test_cmd_line
* test_cmd_line_script
* test_compile
* test_contextlib
* test_profile
* ctypes/test/test_find
* test_multiprocessing
* test_configparser
* test_csv
* test_dbm_dumb
* test_decimal
* test_difflib
* os.fdopen() calls io.text_encoding() to emit EncodingWarning for right place.
19 files changed:
Lib/ctypes/test/test_find.py
Lib/os.py
Lib/test/_test_multiprocessing.py
Lib/test/multibytecodec_support.py
Lib/test/test_asyncio/test_base_events.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_bz2.py
Lib/test/test_cmath.py
Lib/test/test_cmd_line.py
Lib/test/test_cmd_line_script.py
Lib/test/test_compile.py
Lib/test/test_configparser.py
Lib/test/test_contextlib.py
Lib/test/test_csv.py
Lib/test/test_dbm_dumb.py
Lib/test/test_decimal.py
Lib/test/test_difflib.py
Lib/test/test_math.py
Lib/test/test_profile.py