Skip to content

Commit

Permalink
Remove unnecessary use of make_nspkg_sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
di committed Jan 27, 2025
1 parent 9f764e8 commit 27cc909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setuptools/tests/test_dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from setuptools import Distribution
from setuptools.dist import check_package_data, check_specifier

from .test_easy_install import make_nspkg_sdist
from .test_easy_install import make_trivial_sdist
from .test_find_packages import ensure_files
from .textwrap import DALS

Expand All @@ -25,7 +25,7 @@ def test_dist_fetch_build_egg(tmpdir):
def sdist_with_index(distname, version):
dist_dir = index.mkdir(distname)
dist_sdist = f'{distname}-{version}.tar.gz'
make_nspkg_sdist(str(dist_dir.join(dist_sdist)), distname, version)
make_trivial_sdist(str(dist_dir.join(dist_sdist)), distname, version)
with dist_dir.join('index.html').open('w') as fp:
fp.write(
DALS(
Expand Down

0 comments on commit 27cc909

Please sign in to comment.