diff options
| author | Henry Schreiner <HenrySchreinerIII@gmail.com> | 2023-03-13 02:45:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-13 11:45:47 +0200 |
| commit | 472e54eadb37ec9ae66a49711c3eb4c311c014e1 (patch) | |
| tree | 1302caa23bb58b9b6aaa07921de73473e9e29abc /tests | |
| parent | 61e7eb86ba4cd24e8e32ec3a08aeaa053c0792c8 (diff) | |
| download | wheel-git-472e54eadb37ec9ae66a49711c3eb4c311c014e1.tar.gz | |
Fixed EncodingWarning when PYTHONWARNDEFAULTENCODING is set (#512)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/cli/test_convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cli/test_convert.py b/tests/cli/test_convert.py index 87ca6f6..4f26b23 100644 --- a/tests/cli/test_convert.py +++ b/tests/cli/test_convert.py @@ -10,7 +10,7 @@ from wheel.wheelfile import WHEEL_INFO_RE def test_egg_re(): """Make sure egg_info_re matches.""" egg_names_path = os.path.join(os.path.dirname(__file__), "eggnames.txt") - with open(egg_names_path) as egg_names: + with open(egg_names_path, encoding="utf-8") as egg_names: for line in egg_names: line = line.strip() if line: |
