$OpenBSD: patch-tests_test_replwrap_py,v 1.3 2019/04/23 20:19:38 sthen Exp $
Index: tests/test_replwrap.py
--- tests/test_replwrap.py.orig
+++ tests/test_replwrap.py
@@ -108,7 +108,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"... ")
