@@ -55,9 +55,9 @@ def test_copylib(tmp_path, wheel_file, expected):
5555 copylib (extract_dir , dep_map , lib_sdir )
5656
5757 for expected_lib in expected :
58- assert (
59- extract_dir / lib_sdir / expected_lib
60- ). is_file (), f"expected lib { expected_lib } not found"
58+ assert (extract_dir / lib_sdir / expected_lib ). is_file (), (
59+ f"expected lib { expected_lib } not found"
60+ )
6161
6262
6363@pytest .mark .parametrize (
@@ -78,9 +78,9 @@ def test_repair(tmp_path, wheel_file, expected):
7878 libs = show (repaired_wheel )
7979 libs_dependencies = list (chain (* [dep for (dep , _ ) in libs .values ()]))
8080 for expected_lib in expected :
81- assert (
82- expected_lib in libs_dependencies
83- ), f"expected lib { expected_lib } not found in dependencies"
81+ assert expected_lib in libs_dependencies , (
82+ f"expected lib { expected_lib } not found in dependencies"
83+ )
8484
8585
8686@pytest .mark .parametrize (
@@ -116,6 +116,6 @@ def test_repair_rpath(tmp_path, wheel_file, libname, expected):
116116 for lib in shared_libs :
117117 lib_dylink = parse_dylink_section (lib )
118118 libname_index = libname .index (lib .name )
119- assert (
120- expected [libname_index ] in lib_dylink . runtime_paths
121- ), f"expected runtime path { expected [ libname_index ] } not found in { lib . name } "
119+ assert expected [ libname_index ] in lib_dylink . runtime_paths , (
120+ f" expected runtime path { expected [libname_index ]} not found in { lib . name } "
121+ )
0 commit comments