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

lib-python/3/test/test_sysconfig.py::unmodified

== PyPy 3.12.13 (421004c42b8a, Aug 21 2026, 05:17:54) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_8124æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2798765451
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_sysconfig
test_is_python_build_check_home (test.test_sysconfig.DeprecationTests.test_is_python_build_check_home) ... ok
test_get_makefile_filename (test.test_sysconfig.MakefileTests.test_get_makefile_filename) ... skipped 'Test is not Windows compatible'
test_parse_makefile (test.test_sysconfig.MakefileTests.test_parse_makefile) ... ok
test_EXT_SUFFIX_in_vars (test.test_sysconfig.TestSysConfig.test_EXT_SUFFIX_in_vars) ... ok
test_config_vars_depend_on_site_initialization (test.test_sysconfig.TestSysConfig.test_config_vars_depend_on_site_initialization) ... ok
test_config_vars_recalculation_after_site_initialization (test.test_sysconfig.TestSysConfig.test_config_vars_recalculation_after_site_initialization) ... ok
test_get_config_h_filename (test.test_sysconfig.TestSysConfig.test_get_config_h_filename) ... ok
test_get_config_vars (test.test_sysconfig.TestSysConfig.test_get_config_vars) ... ok
test_get_default_scheme (test.test_sysconfig.TestSysConfig.test_get_default_scheme) ... ok
test_get_path (test.test_sysconfig.TestSysConfig.test_get_path) ... ok
test_get_path_names (test.test_sysconfig.TestSysConfig.test_get_path_names) ... ok
test_get_paths (test.test_sysconfig.TestSysConfig.test_get_paths) ... ok
test_get_platform (test.test_sysconfig.TestSysConfig.test_get_platform) ... ok
test_get_preferred_schemes (test.test_sysconfig.TestSysConfig.test_get_preferred_schemes) ... ok
test_get_scheme_names (test.test_sysconfig.TestSysConfig.test_get_scheme_names) ... ok
test_ldshared_value (test.test_sysconfig.TestSysConfig.test_ldshared_value) ... skipped 'Does not apply to Windows'
test_main (test.test_sysconfig.TestSysConfig.test_main) ... ok
test_nt_venv_scheme (test.test_sysconfig.TestSysConfig.test_nt_venv_scheme) ... ok
test_osx_ext_suffix (test.test_sysconfig.TestSysConfig.test_osx_ext_suffix) ... skipped 'OS X-specific test'
test_paths_depend_on_site_initialization (test.test_sysconfig.TestSysConfig.test_paths_depend_on_site_initialization) ... ok
test_platform_in_subprocess (test.test_sysconfig.TestSysConfig.test_platform_in_subprocess) ... skipped 'test only relevant on MacOSX'
test_posix_venv_scheme (test.test_sysconfig.TestSysConfig.test_posix_venv_scheme) ... FAIL
test_srcdir (test.test_sysconfig.TestSysConfig.test_srcdir) ... ok
test_srcdir_independent_of_cwd (test.test_sysconfig.TestSysConfig.test_srcdir_independent_of_cwd) ... ok
test_symlink (test.test_sysconfig.TestSysConfig.test_symlink) ... b''
ERROR
test_triplet_in_ext_suffix (test.test_sysconfig.TestSysConfig.test_triplet_in_ext_suffix) ... skipped 'multiarch-specific test'
test_user_similar (test.test_sysconfig.TestSysConfig.test_user_similar) ... ok
test_venv_scheme (test.test_sysconfig.TestSysConfig.test_venv_scheme) ... ok

======================================================================
ERROR: test_symlink (test.test_sysconfig.TestSysConfig.test_symlink)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_sysconfig.py", line 366, in test_symlink
    self.assertEqual(py.call_real(*cmd), py.call_link(*cmd))
                                         ^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1533, in call_link
    return self._call(self.link, args, self._env, returncode)
                ^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1525, in _call
    raise RuntimeError(
RuntimeError: unexpected return code: 1 (0x00000001)

======================================================================
FAIL: test_posix_venv_scheme (test.test_sysconfig.TestSysConfig.test_posix_venv_scheme)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_sysconfig.py", line 171, in test_posix_venv_scheme
    self.assertEqual(libpath, sysconfig.get_path('purelib', scheme='posix_venv', vars=vars))
         ^^^^^^^^^^^
AssertionError: 'venv\\lib\\python3.12\\site-packages' != 'venv\\lib\\pypy3.12\\site-packages'
- venv\lib\python3.12\site-packages
?            ^^^^
+ venv\lib\pypy3.12\site-packages
?            ^^


----------------------------------------------------------------------
Ran 28 tests in 3.350s

FAILED (failures=1, errors=1, skipped=5)
0:00:03 [1/1/1] test_sysconfig failed (1 error, 1 failure)

== Tests result: FAILURE ==

1 test failed:
    test_sysconfig

Total duration: 3.6 sec
Total tests: run=28 failures=1 skipped=5
Total test files: run=1/1 failed=1
Result: FAILURE
b"debug: WARNING: Library path not found, using compiled-in sys.path, with\r\ndebug: WARNING: sys.prefix = 'd:\\\\pypy_stuff\\\\buildbot64\\\\slave\\\\pypy-c-jit-win-x86-64\\\\build'\r\ndebug: WARNING: Make sure the pypy3 binary is kept inside its tree of files.\r\ndebug: WARNING: It is ok to create a symlink to it from somewhere else.\r\ndebug: OperationError:\ndebug:  operror-type: AttributeError\ndebug:  operror-value: module 'sys' has no attribute 'base_prefix'\n"
test test_sysconfig failed
builder: pypy-c-jit-win-x86-64 build #2509+
test: lib-python/3/test/test_sysconfig.py::unmodified