Skip to content

Commit 8795306

Browse files
committed
Call make_nspkg_sdist with 'foo.bar' distname
1 parent 2234be8 commit 8795306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setuptools/tests/test_easy_install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ def test_setup_requires_override_nspkg(self, use_setup_cfg):
671671
with contexts.save_pkg_resources_state():
672672
with contexts.tempdir() as temp_dir:
673673
foobar_1_archive = os.path.join(temp_dir, 'foo_bar-0.1.tar.gz')
674-
make_nspkg_sdist(foobar_1_archive, 'foo_bar', '0.1')
674+
make_nspkg_sdist(foobar_1_archive, 'foo.bar', '0.1')
675675
# Now actually go ahead an extract to the temp dir and add the
676676
# extracted path to sys.path so foo.bar v0.1 is importable
677677
foobar_1_dir = os.path.join(temp_dir, 'foo_bar-0.1')
@@ -704,7 +704,7 @@ def test_setup_requires_override_nspkg(self, use_setup_cfg):
704704

705705
test_pkg = create_setup_requires_package(
706706
temp_dir,
707-
'foo_bar',
707+
'foo.bar',
708708
'0.2',
709709
make_nspkg_sdist,
710710
template,

0 commit comments

Comments
 (0)