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

cffi_tests.test_version:test_pycparser_version

@pytest.mark.skipif('sys.version_info[0] < 3', reason="upstream is python3-only")
    def test_pycparser_version():
        url = 'https://raw.githubusercontent.com/eliben/pycparser/master/pycparser/__init__.py'
        source = urlopen(url).read().decode('utf8')
        dest = py.path.local(__file__).join('..', '..', '..', 'lib_pypy', 'cffi',
                                            '_pycparser', '__init__.py').read()
        # if this fails, the vendored pycparser is not the latest version
        # lib_pypy/cffi/_pycparser/README
>       assert source.strip() == dest.strip()
E       assert '# ----------...xt, filename)' == '# ----------...xt, filename)'
E         Skipping 321 identical leading characters in diff, use -v to show
E         - l__ = ["c_lexer", "c_parser", "c_ast"]
E         ?                             ---------
E         + l__ = ["c_ast", "c_lexer", "c_parser"]
E         ?        +++++++++
E           __version__ = "3.00"
E           ...
E         
E         ...Full output truncated (90 lines hidden), use '-vv' to show

../build/extra_tests/cffi_tests/test_version.py:24: AssertionError
builder: pypy-c-jit-linux-aarch64 build #2984+
test: cffi_tests.test_version:test_pycparser_version