File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ def test_build_sdist(monkeypatch, tmpdir):
185
185
pkgconfig_expected = normalize_line_endings (
186
186
PKGCONFIG .format (VERSION = simple_version ).encode ()
187
187
)
188
- assert pkgconfig == pkgconfig_expected
188
+ assert normalize_line_endings ( pkgconfig ) == pkgconfig_expected
189
189
190
190
191
191
def test_build_global_dist (monkeypatch , tmpdir ):
@@ -243,10 +243,8 @@ def test_build_global_dist(monkeypatch, tmpdir):
243
243
assert pyproject_toml == contents
244
244
245
245
simple_version = "." .join (version .split ("." )[:3 ])
246
- pkgconfig_expected = normalize_line_endings (
247
- PKGCONFIG .format (VERSION = simple_version ).encode ()
248
- )
249
- assert pkgconfig == pkgconfig_expected
246
+ pkgconfig_expected = PKGCONFIG .format (VERSION = simple_version ).encode ()
247
+ assert normalize_line_endings (pkgconfig ) == pkgconfig_expected
250
248
251
249
252
250
def tests_build_wheel (monkeypatch , tmpdir ):
You can’t perform that action at this time.
0 commit comments