Skip to content

Commit 3422ab3

Browse files
author
Ram Rachum
committed
-
1 parent 5e506f4 commit 3422ab3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

misc/testing/tweak_nose.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ def makeConfig(self, env, plugins=None):
4646
cfg_files = [os.path.join(repo_root_path, 'setup.cfg')]
4747
else: # not frozen
4848
cfg_files = [
49-
os.path.join(repo_root_path, 'garlicsim/setup.cfg'),
50-
os.path.join(repo_root_path, 'garlicsim_lib/setup.cfg'),
51-
os.path.join(repo_root_path, 'garlicsim_wx/setup.cfg')
49+
os.path.join(repo_root_path, 'garlicsim', 'setup.cfg'),
50+
os.path.join(repo_root_path, 'garlicsim_lib', 'setup.cfg'),
51+
os.path.join(repo_root_path, 'garlicsim_wx', 'setup.cfg')
5252
]
5353
if plugins:
5454
manager = nose.core.PluginManager(plugins=plugins)

run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def import_by_path(path, name=None):
9999
else:
100100
multiprocessing.freeze_support()
101101

102-
argv = sys.argv[:] if frozen else sys.argv[1:]
102+
argv = ([sys.executable] + sys.argv[:]) if frozen else sys.argv[:]
103103

104104
if '--help' in argv:
105105
sys.stdout.write(__doc__ + '\n')

0 commit comments

Comments
 (0)