$OpenBSD: patch-tests_test_replwrap_py,v 1.2 2016/09/01 06:56:46 shadchin Exp $
--- tests/test_replwrap.py.orig	Mon Aug 22 00:57:33 2016
+++ tests/test_replwrap.py	Sun Aug 28 17:27:51 2016
@@ -101,7 +101,7 @@ class REPLWrapTestCase(unittest.TestCase):
         if platform.python_implementation() == 'PyPy':
             raise unittest.SkipTest(skip_pypy)
 
-        child = pexpect.spawn('python', echo=False, timeout=5, encoding='utf-8')
+        child = pexpect.spawn('${MODPY_BIN}', echo=False, timeout=5, encoding='utf-8')
         # prompt_change=None should mean no prompt change
         py = replwrap.REPLWrapper(child, u">>> ", prompt_change=None,
                                   continuation_prompt=u"... ")
