Skip to content

Commit

Permalink
remove useless code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Aug 20, 2023
1 parent 9a11dee commit 5e17731
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,13 +394,6 @@ def test_data_dir_with_tag_build(monkeypatch, tmp_path):
[("linux-x86_64", "linux_i686"), ("linux-aarch64", "linux_armv7l")],
)
def test_platform_linux32(reported, expected, monkeypatch):
def return_factory(return_val):
def fun(*args, **kwargs):
return return_val

return fun

monkeypatch.setattr(sysconfig, "get_platform", return_factory(reported))
monkeypatch.setattr(struct, "calcsize", lambda x: 4)
dist = setuptools.Distribution()
cmd = bdist_wheel(dist)
Expand Down

0 comments on commit 5e17731

Please sign in to comment.