Skip to content

Commit 728266a

Browse files
author
Ram Rachum
committed
-
1 parent f5ba894 commit 728266a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

run_tests.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
# blocktodo: make friendly error message if launched from wrong path
1212
# blocktodo: add help message
1313

14+
from __future__ import print_function
15+
1416
import os.path
1517
import sys
1618
import imp
@@ -165,8 +167,8 @@ def ensure_zip_testing_was_legit():
165167
argv.remove('--from-zip')
166168

167169
# Adding test packages to arguments to have Nose take tests from them:
168-
argv += \
169-
['%s/test_%s' % package_name for package_name in package_names][::-1]
170+
argv += ['%s/test_%s' % (package_name, package_name) for
171+
package_name in package_names][::-1]
170172
# (Reversing package order for now, to put the shorter tests first.)
171173

172174
###########################################################################

0 commit comments

Comments
 (0)