Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

test_pypy_modules:test_expected_modules[lzma]

modname = 'lzma'

    def test_expected_modules(modname):
>       importlib.import_module(modname)

../build/extra_tests/test_pypy_modules.py:75: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../build/lib-python/3/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<builtin>/frozen importlib._bootstrap_external:955: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
../build/lib-python/3/lzma.py:27: in <module>
    from _lzma import *
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    # This file is based on lzmaffi/_lzmamodule2.py from lzmaffi version 0.3.0.
    # The original license is
    # Copyright (c) 2010-2011, Per Øyvind Karlsen.
    # Copyright (c) 2011-2012, Nadeem Vawda.
    # Copyright (c) 2012-2013, Peter J. A. Cock.
    # Copyright (c) 2013-2014, Tomer Chachamu.
    # All rights reserved.
    #
    # Redistribution and use in source and binary forms, with or without
    # modification, are permitted provided that the following conditions are met:
    #
    # Redistributions of source code must retain the above copyright notice, this
    # list of conditions and the following disclaimer.
    #
    # Redistributions in binary form must reproduce the above copyright notice, this
    # list of conditions and the following disclaimer in the documentation and/or
    # other materials provided with the distribution.
    #
    # Neither the name of the copyright holders nor the names of its contributors
    # may be used to endorse or promote products derived from this software without
    # specific prior written permission.
    
    # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
    # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
    # THE POSSIBILITY OF SUCH DAMAGE.
    #
    # PyPy changes:
    # - added __getstate__() methods that raise TypeError on pickling.
    # - ported to CFFI 1.0
    # These and subsequent changes are licensed by the PyPy Copyright holders, following
    # the LICENSE file in the top-level directory
    
    import threading
    import functools
    import collections.abc
    import weakref
    import sys
    import io
    import __pypy__
    
>   from _lzma_cffi import ffi, lib as m
E   ModuleNotFoundError: No module named '_lzma_cffi'

../build/lib_pypy/_lzma.py:49: ModuleNotFoundError
builder: pypy-c-jit-linux-x86-64 build #11964+
test: test_pypy_modules:test_expected_modules[lzma]