File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -172,12 +172,15 @@ def ensure_zip_testing_was_legit():
172172 package_name in package_names ][::- 1 ]
173173 # (Reversing package order for now, to put the shorter tests first.)
174174
175- ###########################################################################
176- # This is the heavy line, which actually causes Nose to start running
177- # tests:
178- TestProgram (argv = argv )
179- ###########################################################################
180175
181- if testing_from_zip :
182- ensure_zip_testing_was_legit (package_names , sys , os )
176+ try :
177+ #######################################################################
178+ # This is the heavy line, which actually causes Nose to start running
179+ # tests:
180+ TestProgram (argv = argv )
181+ #######################################################################
182+
183+ finally :
184+ if testing_from_zip :
185+ ensure_zip_testing_was_legit (package_names , sys , os )
183186
You can’t perform that action at this time.
0 commit comments