File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change 11"""Tests for distutils.command.bdist_msi."""
2- import os
32import sys
43import unittest
54from 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
3021def test_suite ():
You can’t perform that action at this time.
0 commit comments