diff options
Diffstat (limited to 'setuptools/_distutils/tests/test_bdist_wininst.py')
-rw-r--r-- | setuptools/_distutils/tests/test_bdist_wininst.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/setuptools/_distutils/tests/test_bdist_wininst.py b/setuptools/_distutils/tests/test_bdist_wininst.py deleted file mode 100644 index c432d24b..00000000 --- a/setuptools/_distutils/tests/test_bdist_wininst.py +++ /dev/null @@ -1,27 +0,0 @@ -"""Tests for distutils.command.bdist_wininst.""" -import pytest - -from .py38compat import check_warnings - -from distutils.command.bdist_wininst import bdist_wininst -from distutils.tests import support - - -@pytest.mark.skipif("platform.machine() == 'ARM64'") -@pytest.mark.skipif("bdist_wininst._unsupported") -class TestBuildWinInst(support.TempdirManager, support.LoggingSilencer): - def test_get_exe_bytes(self): - - # issue5731: command was broken on non-windows platforms - # this test makes sure it works now for every platform - # let's create a command - pkg_pth, dist = self.create_dist() - with check_warnings(("", DeprecationWarning)): - cmd = bdist_wininst(dist) - cmd.ensure_finalized() - - # let's run the code that finds the right wininst*.exe file - # and make sure it finds it and returns its content - # no matter what platform we have - exe_file = cmd.get_exe_bytes() - assert len(exe_file) > 10 |