Debian Codegraph @

pypy/tool/test/test_lib_pypy.py

raw symbols SCIP
1 import py
2 from pypy.tool import lib_pypy
3
4 def test_lib_pypy_exists():
5 dirname = lib_pypy.LIB_PYPY
6 assert dirname.check(dir=1)
7
8 def test_lib_python_exists():
9 assert lib_pypy.LIB_PYTHON.check(dir=1)
10
11 def test_import_from_lib_pypy():
12 _marshal = lib_pypy.import_from_lib_pypy('_marshal')
13 assert type(_marshal) is type(lib_pypy)
14 assert _marshal.__name__ == 'lib_pypy._marshal'
15 assert hasattr(_marshal, 'loads')