summaryrefslogtreecommitdiff
path: root/tests/cli/test_convert.py
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2021-12-24 01:27:26 +0200
committerAlex Grönholm <alex.gronholm@nextday.fi>2021-12-24 01:45:01 +0200
commit5eb690c72ea59bc0f8a2fa34d3993ebe3dbe0d38 (patch)
treedff2a2103314f0fe6c5cc53b91a120f59edf78d3 /tests/cli/test_convert.py
parent64d0b8d779b5b41bacea2ef3b59f3e06f0e683ed (diff)
downloadwheel-git-5eb690c72ea59bc0f8a2fa34d3993ebe3dbe0d38.tar.gz
Adopted black and reformatted the codebase to match
Diffstat (limited to 'tests/cli/test_convert.py')
-rw-r--r--tests/cli/test_convert.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/cli/test_convert.py b/tests/cli/test_convert.py
index 7d711aa..82a75eb 100644
--- a/tests/cli/test_convert.py
+++ b/tests/cli/test_convert.py
@@ -7,7 +7,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')
+ egg_names_path = os.path.join(os.path.dirname(__file__), "eggnames.txt")
with open(egg_names_path) as egg_names:
for line in egg_names:
line = line.strip()
@@ -20,5 +20,7 @@ def test_convert_egg(egg_paths, tmpdir):
wheel_names = [path.basename for path in tmpdir.listdir()]
assert len(wheel_names) == len(egg_paths)
assert all(WHEEL_INFO_RE.match(filename) for filename in wheel_names)
- assert all(re.match(r'^[\w\d.]+-\d\.\d-\w+\d+-[\w\d]+-[\w\d]+\.whl$', fname)
- for fname in wheel_names)
+ assert all(
+ re.match(r"^[\w\d.]+-\d\.\d-\w+\d+-[\w\d]+-[\w\d]+\.whl$", fname)
+ for fname in wheel_names
+ )