From 5eb6d23b489749e8bb884a3179f9714cd03c1daf 2014-12-10 21:20:42 From: Thomas Kluyver Date: 2014-12-10 21:20:42 Subject: [PATCH] Replace pager_page() instead of page() for test suite Since gh-7009, pager_page is now the function that may actually launch external pagers. By replacing page(), we were hiding some bugs, as in gh-7166 --- diff --git a/IPython/testing/globalipapp.py b/IPython/testing/globalipapp.py index 172e53e..85040ed 100644 --- a/IPython/testing/globalipapp.py +++ b/IPython/testing/globalipapp.py @@ -170,7 +170,7 @@ def start_ipython(): def nopage(strng, start=0, screen_lines=0, pager_cmd=None): print(strng) - page.orig_page = page.page - page.page = nopage + page.orig_page = page.pager_page + page.pager_page = nopage return _ip