Skip to content

Commit

Permalink
WIP: try two different norms
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Aug 8, 2022
1 parent ed3e1fb commit b6a9357
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/extra_python_package/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def test_build_sdist(monkeypatch, tmpdir):
pkgconfig_expected = normalize_line_endings(
PKGCONFIG.format(VERSION=simple_version).encode()
)
assert pkgconfig == pkgconfig_expected
assert normalize_line_endings(pkgconfig) == pkgconfig_expected


def test_build_global_dist(monkeypatch, tmpdir):
Expand Down Expand Up @@ -243,10 +243,8 @@ def test_build_global_dist(monkeypatch, tmpdir):
assert pyproject_toml == contents

simple_version = ".".join(version.split(".")[:3])
pkgconfig_expected = normalize_line_endings(
PKGCONFIG.format(VERSION=simple_version).encode()
)
assert pkgconfig == pkgconfig_expected
pkgconfig_expected = PKGCONFIG.format(VERSION=simple_version).encode()
assert normalize_line_endings(pkgconfig) == pkgconfig_expected


def tests_build_wheel(monkeypatch, tmpdir):
Expand Down

0 comments on commit b6a9357

Please sign in to comment.