diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2011-04-09 21:14:53 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2011-04-09 21:14:53 +0000 |
| commit | 3042e158f64a8a8f5bf84657fe04fe06d9d7bc4a (patch) | |
| tree | ec1a1abd2ef1d81821cbe3f80812a38cd78538d2 /docutils/test/test_command_line.py | |
| parent | 8f299c0ebc276db8b3037fb659dfc66544bb2864 (diff) | |
| download | docutils-3042e158f64a8a8f5bf84657fe04fe06d9d7bc4a.tar.gz | |
One more fix to the command line test
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7005 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/test_command_line.py')
| -rw-r--r-- | docutils/test/test_command_line.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docutils/test/test_command_line.py b/docutils/test/test_command_line.py index 6963aa118..f7e693851 100644 --- a/docutils/test/test_command_line.py +++ b/docutils/test/test_command_line.py @@ -39,9 +39,8 @@ class CommandLineEncodingTests(unittest.TestCase): # self.assertEqual(sys.argv[0].encoding, # locale.getpreferredencoding()) # so instead, we check if a command line with non-ASCII char works - - cmd_str = (u'python %s/mini_frontend.py --title=Dornröschen' % - normpath(dirname(__file__) + '')) + cmd_str = (u'%s %s/mini_frontend.py --title=Dornröschen' % + (sys.executable, normpath(dirname(__file__) + ''))) p = subprocess.Popen([cmd_str.encode(argv_encoding)], shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE) p.stdin.close() |
