"""
Test the readline library on top of PyPy.  The following tests run
in the PyPy interpreter, itself running on top of CPython
"""

from pypy.conftest import gettestobjspace


class AppTestReadline:

    def setup_class(cls):
        # enable usage of the readline mixedmodule
        space = gettestobjspace(usemodules=('readline',))
        cls.space = space

    def test_basic_import(self):
        # this is interpreted by PyPy
        import readline 
        readline.readline
        # XXX test more

"""
Test the readline library on top of PyPy.  The following tests run
in the PyPy interpreter, itself running on top of CPython
"""

from pypy.conftest import gettestobjspace


class AppTestReadline:

    def setup_class(cls):
        # enable usage of the readline mixedmodule
        space = gettestobjspace(usemodules=('readline',))
        cls.space = space

    def test_basic_import(self):
        # this is interpreted by PyPy
        import readline 
        readline.readline
        # XXX test more

Test the readline library on top of PyPy.  The following tests run in the PyPy interpreter, itself running on top of CPython # enable usage of the readline mixedmodule # this is interpreted by PyPy # XXX test more