Index: IPython/core/tests/test_interactiveshell.py
--- IPython/core/tests/test_interactiveshell.py.orig
+++ IPython/core/tests/test_interactiveshell.py
@@ -650,7 +650,7 @@ class TestSystemRaw(ExitCodeChecks):
     def test_1(self):
         """Test system_raw with non-ascii cmd
         """
-        cmd = u'''python -c "'åäö'"   '''
+        cmd = u'''${MODPY_BIN} -c "'åäö'"   '''
         ip.system_raw(cmd)
 
     @mock.patch('subprocess.call', side_effect=KeyboardInterrupt)
