From b0c1308d64878c26948bcde6cfc047b1fcd021c2 Mon Sep 17 00:00:00 2001 From: Tzu-ping Chung Date: Thu, 28 May 2020 16:15:40 +0800 Subject: [PATCH] Always Unicode --- tests/unit/test_wheel.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/test_wheel.py b/tests/unit/test_wheel.py index 7335e1ff8aa..f734e0ae647 100644 --- a/tests/unit/test_wheel.py +++ b/tests/unit/test_wheel.py @@ -85,15 +85,15 @@ def test_get_legacy_build_wheel_path__multiple_names(caplog): @pytest.mark.parametrize( "console_scripts", [ - "pip = pip._internal.main:pip", - "pip:pip = pip._internal.main:pip", - pytest.param("進入點 = 套件.模組:函式", marks=skip_if_python2), + u"pip = pip._internal.main:pip", + u"pip:pip = pip._internal.main:pip", + pytest.param(u"進入點 = 套件.模組:函式", marks=skip_if_python2), ], ) def test_get_entrypoints(tmpdir, console_scripts): entry_points = tmpdir.joinpath("entry_points.txt") with io.open(str(entry_points), "w", encoding="utf-8") as fp: - fp.write(""" + fp.write(u""" [console_scripts] {} [section]