$NetBSD: patch-bb,v 1.2 2013/10/29 18:18:46 drochner Exp $

--- IPython/core/tests/test_interactiveshell.py.orig	2013-04-05 19:21:31.000000000 +0000
+++ IPython/core/tests/test_interactiveshell.py
@@ -399,7 +399,7 @@ class TestSystemRaw(unittest.TestCase):
     def test_1(self):
         """Test system_raw with non-ascii cmd
         """
-        cmd = ur'''python -c "'åäö'"   '''
+        cmd = ur'''"%s" -c "'åäö'"   ''' % sys.executable
         ip.system_raw(cmd)
 
     def test_exit_code(self):
