Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 00b41fc

Browse files
committed
Merge 3.2
2 parents 7f4fdb2 + a420c82 commit 00b41fc

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

Lib/distutils/command/bdist_msi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def run(self):
260260
self.db.Commit()
261261

262262
if hasattr(self.distribution, 'dist_files'):
263-
tup = 'bdist_msi', self.target_version or 'any', installer_name
263+
tup = 'bdist_msi', self.target_version or 'any', fullname
264264
self.distribution.dist_files.append(tup)
265265

266266
if not self.keep_temp:

Lib/distutils/tests/test_bdist_msi.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Tests for distutils.command.bdist_msi."""
2-
import os
32
import sys
43
import unittest
54
from test.support import run_unittest
@@ -17,14 +16,6 @@ def test_minimal(self):
1716
project_dir, dist = self.create_dist()
1817
cmd = bdist_msi(dist)
1918
cmd.ensure_finalized()
20-
cmd.run()
21-
22-
bdists = os.listdir(os.path.join(project_dir, 'dist'))
23-
self.assertEqual(bdists, ['foo-0.1.msi'])
24-
25-
# bug #13719: upload ignores bdist_msi files
26-
self.assertEqual(dist.dist_files,
27-
[('bdist_msi', 'any', 'dist/foo-0.1.msi')])
2819

2920

3021
def test_suite():

0 commit comments

Comments
 (0)