@@ -198,13 +198,13 @@ def test_prepare_metadata_for_build_wheel(project: str) -> None:
198
198
assert (dist_info / "METADATA" ).exists ()
199
199
200
200
with (dist_info / "entry_points.txt" ).open (encoding = "utf-8" ) as f :
201
- assert entry_points == f .read ()
201
+ assert f .read () == entry_points
202
202
203
203
with (dist_info / "WHEEL" ).open (encoding = "utf-8" ) as f :
204
- assert wheel_data == f .read ()
204
+ assert f .read () == wheel_data
205
205
206
206
with (dist_info / "METADATA" ).open (encoding = "utf-8" ) as f :
207
- assert metadata == f .read ()
207
+ assert f .read () == metadata
208
208
209
209
210
210
def test_prepare_metadata_for_build_wheel_with_bad_path_dev_dep_succeeds () -> None :
@@ -240,7 +240,7 @@ def test_build_editable_wheel(project: str) -> None:
240
240
namelist = z .namelist ()
241
241
242
242
assert "my_package.pth" in namelist
243
- assert pkg_dir . as_posix () == z .read ("my_package.pth" ).decode ().strip ()
243
+ assert z .read ("my_package.pth" ).decode ().strip () == pkg_dir . as_posix ()
244
244
245
245
246
246
@pytest .mark .parametrize ("project" , ["complete" , "complete_new" ])
@@ -299,5 +299,5 @@ def test_build_editable_wheel_with_metadata_directory(project: str) -> None:
299
299
namelist = z .namelist ()
300
300
301
301
assert "my_package.pth" in namelist
302
- assert pkg_dir . as_posix () == z .read ("my_package.pth" ).decode ().strip ()
302
+ assert z .read ("my_package.pth" ).decode ().strip () == pkg_dir . as_posix ()
303
303
assert f"{ metadata_directory } /CUSTOM" in namelist
0 commit comments