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

lib-python/3/test/test_import::unmodified

== PyPy 3.11.15 (f0ba547da91c, Jul 01 2026, 03:54:35) [PyPy 7.3.24-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_1872æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2344938566
0:00:00 Run 1 test sequentially
0:00:00 [1/1] test_import
test_absolute_circular_submodule (test.test_import.CircularImportTests.test_absolute_circular_submodule) ... ok
test_binding (test.test_import.CircularImportTests.test_binding) ... ok
test_circular_from_import (test.test_import.CircularImportTests.test_circular_from_import) ... ok
test_crossreference1 (test.test_import.CircularImportTests.test_crossreference1) ... ok
test_crossreference2 (test.test_import.CircularImportTests.test_crossreference2) ... ok
test_direct (test.test_import.CircularImportTests.test_direct) ... ok
test_indirect (test.test_import.CircularImportTests.test_indirect) ... ok
test_rebinding (test.test_import.CircularImportTests.test_rebinding) ... ok
test_subpackage (test.test_import.CircularImportTests.test_subpackage) ... ok
test_unwritable_module (test.test_import.CircularImportTests.test_unwritable_module) ... ok
test_cached_mode_issue_2051 (test.test_import.FilePermissionTests.test_cached_mode_issue_2051) ... skipped 'test meaningful only on posix systems'
test_cached_readonly (test.test_import.FilePermissionTests.test_cached_readonly) ... skipped 'test meaningful only on posix systems'
test_creation_mode (test.test_import.FilePermissionTests.test_creation_mode) ... skipped 'test meaningful only on posix systems'
test_pyc_always_writable (test.test_import.FilePermissionTests.test_pyc_always_writable) ... ok
test_get_sourcefile (test.test_import.GetSourcefileTests.test_get_sourcefile) ... skipped 'implementation detail specific to cpython'
test_get_sourcefile_bad_ext (test.test_import.GetSourcefileTests.test_get_sourcefile_bad_ext) ... skipped 'implementation detail specific to cpython'
test_get_sourcefile_no_source (test.test_import.GetSourcefileTests.test_get_sourcefile_no_source) ... skipped 'implementation detail specific to cpython'
test_bogus_fromlist (test.test_import.ImportTests.test_bogus_fromlist) ... ok
test_case_sensitivity (test.test_import.ImportTests.test_case_sensitivity) ... ok
test_concurrency (test.test_import.ImportTests.test_concurrency) ... ok
test_delete_builtins_import (test.test_import.ImportTests.test_delete_builtins_import) ... skipped 'implementation detail specific to cpython'
test_dll_dependency_import (test.test_import.ImportTests.test_dll_dependency_import) ... debug: WARNING: Library path not found, using compiled-in sys.path, with
debug: WARNING: sys.prefix = 'd:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build'
debug: WARNING: Make sure the pypy3 binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
debug: OperationError:
debug:  operror-type: AttributeError
debug:  operror-value: module 'sys' has no attribute 'base_prefix'
ERROR
test_double_const (test.test_import.ImportTests.test_double_const) ... ok
test_failing_import_sticks (test.test_import.ImportTests.test_failing_import_sticks) ... ok
test_failing_reload (test.test_import.ImportTests.test_failing_reload) ... ok
test_file_to_source (test.test_import.ImportTests.test_file_to_source) ... ok
test_from_import_AttributeError (test.test_import.ImportTests.test_from_import_AttributeError) ... ok
test_from_import_message_for_existing_module (test.test_import.ImportTests.test_from_import_message_for_existing_module) ... ok
test_from_import_message_for_nonexistent_module (test.test_import.ImportTests.test_from_import_message_for_nonexistent_module) ... ok
test_from_import_missing_attr_has_name (test.test_import.ImportTests.test_from_import_missing_attr_has_name) ... ok
test_from_import_missing_attr_has_name_and_path (test.test_import.ImportTests.test_from_import_missing_attr_has_name_and_path) ... ok
test_from_import_missing_attr_has_name_and_so_path (test.test_import.ImportTests.test_from_import_missing_attr_has_name_and_so_path) ... skipped 'implementation detail specific to cpython'
test_from_import_missing_attr_path_is_canonical (test.test_import.ImportTests.test_from_import_missing_attr_path_is_canonical) ... ok
test_from_import_missing_attr_raises_ImportError (test.test_import.ImportTests.test_from_import_missing_attr_raises_ImportError) ... ok
test_from_import_missing_module_raises_ModuleNotFoundError (test.test_import.ImportTests.test_from_import_missing_module_raises_ModuleNotFoundError) ... ok
test_from_import_star_invalid_type (test.test_import.ImportTests.test_from_import_star_invalid_type) ... ok
test_import (test.test_import.ImportTests.test_import) ... ok
test_import_by_filename (test.test_import.ImportTests.test_import_by_filename) ... ok
test_import_in_del_does_not_crash (test.test_import.ImportTests.test_import_in_del_does_not_crash) ... ok
test_import_name_binding (test.test_import.ImportTests.test_import_name_binding) ... ok
test_import_raises_ModuleNotFoundError (test.test_import.ImportTests.test_import_raises_ModuleNotFoundError) ... ok
test_issue105979 (test.test_import.ImportTests.test_issue105979) ... skipped 'pypy does not accept a data argument to get_frozen_object'
test_issue31286 (test.test_import.ImportTests.test_issue31286) ... ok
test_issue31492 (test.test_import.ImportTests.test_issue31492) ... skipped 'implementation detail specific to cpython'
test_module_with_large_stack (test.test_import.ImportTests.test_module_with_large_stack) ... ok
test_timestamp_overflow (test.test_import.ImportTests.test_timestamp_overflow) ... ok
test_broken_from (test.test_import.ImportTracebackTests.test_broken_from) ... ok
test_broken_parent (test.test_import.ImportTracebackTests.test_broken_parent) ... ok
test_broken_parent_from (test.test_import.ImportTracebackTests.test_broken_parent_from) ... ok
test_broken_submodule (test.test_import.ImportTracebackTests.test_broken_submodule) ... ok
test_exec_failure (test.test_import.ImportTracebackTests.test_exec_failure) ... ok
test_exec_failure_nested (test.test_import.ImportTracebackTests.test_exec_failure_nested) ... ok
test_import_bug (test.test_import.ImportTracebackTests.test_import_bug) ... skipped 'implementation detail specific to cpython'
test_nonexistent_module (test.test_import.ImportTracebackTests.test_nonexistent_module) ... ok
test_nonexistent_module_nested (test.test_import.ImportTracebackTests.test_nonexistent_module_nested) ... ok
test_syntax_error (test.test_import.ImportTracebackTests.test_syntax_error) ... ok
test_unencodable_filename (test.test_import.ImportTracebackTests.test_unencodable_filename) ... FAIL
test_frozen_importlib (test.test_import.ImportlibBootstrapTests.test_frozen_importlib) ... skipped 'implementation detail specific to cpython'
test_frozen_importlib_external_is_bootstrap_external (test.test_import.ImportlibBootstrapTests.test_frozen_importlib_external_is_bootstrap_external) ... skipped 'implementation detail specific to cpython'
test_frozen_importlib_is_bootstrap (test.test_import.ImportlibBootstrapTests.test_frozen_importlib_is_bootstrap) ... skipped 'implementation detail specific to cpython'
test_there_can_be_only_one (test.test_import.ImportlibBootstrapTests.test_there_can_be_only_one) ... skipped 'implementation detail specific to cpython'
test_override_builtin (test.test_import.OverridingImportBuiltinTests.test_override_builtin) ... ok
test_UNC_path (test.test_import.PathsTests.test_UNC_path) ... ok
test_trailing_slash (test.test_import.PathsTests.test_trailing_slash) ... ok
test_basics (test.test_import.PycRewritingTests.test_basics) ... ok
test_foreign_code (test.test_import.PycRewritingTests.test_foreign_code) ... ok
test_incorrect_code_name (test.test_import.PycRewritingTests.test_incorrect_code_name) ... ok
test_module_without_source (test.test_import.PycRewritingTests.test_module_without_source) ... ok
test___cached__ (test.test_import.PycacheTests.test___cached__) ... ok
test___cached___legacy_pyc (test.test_import.PycacheTests.test___cached___legacy_pyc) ... ok
test_import_pyc_path (test.test_import.PycacheTests.test_import_pyc_path) ... ok
test_missing_source (test.test_import.PycacheTests.test_missing_source) ... ok
test_missing_source_legacy (test.test_import.PycacheTests.test_missing_source_legacy) ... ok
test_package___cached__ (test.test_import.PycacheTests.test_package___cached__) ... ok
test_package___cached___from_pyc (test.test_import.PycacheTests.test_package___cached___from_pyc) ... ok
test_recompute_pyc_same_second (test.test_import.PycacheTests.test_recompute_pyc_same_second) ... ok
test_unwritable_directory (test.test_import.PycacheTests.test_unwritable_directory) ... skipped 'test meaningful only on posix systems'
test_absolute_import_without_future (test.test_import.RelativeImportTests.test_absolute_import_without_future) ... ok
test_import_from_non_package (test.test_import.RelativeImportTests.test_import_from_non_package) ... ok
test_import_from_unloaded_package (test.test_import.RelativeImportTests.test_import_from_unloaded_package) ... ok
test_issue3221 (test.test_import.RelativeImportTests.test_issue3221) ... ok
test_parentless_import_shadowed_by_global (test.test_import.RelativeImportTests.test_parentless_import_shadowed_by_global) ... ok
test_relimport_star (test.test_import.RelativeImportTests.test_relimport_star) ... ok
test_symlinked_dir_importable (test.test_import.TestSymbolicallyLinkedPackage.test_symlinked_dir_importable) ... ok

======================================================================
ERROR: test_dll_dependency_import (test.test_import.ImportTests.test_dll_dependency_import)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_import\__init__.py", line 496, in test_dll_dependency_import
    subprocess.check_call([
               ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['D:\\SystemTemp\\pytest\\tmpfp7d_1q3\\pypy3.11-c.exe', '-Sc', "import os;p = os.add_dll_directory('d:\\\\pypy_stuff\\\\buildbot64\\\\slave\\\\pypy-c-jit-win-x86-64\\\\build\\\\lib_pypy');import _sqlite3;p.close"]' returned non-zero exit status 1.

======================================================================
FAIL: test_unencodable_filename (test.test_import.ImportTracebackTests.test_unencodable_filename)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_import\__init__.py", line 1293, in test_unencodable_filename
    script_helper.assert_python_ok("-c", "mod = __import__(%a)" % name,
                  ^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\script_helper.py", line 166, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\script_helper.py", line 151, in _assert_python
    res.fail(cmd_line)
        ^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\script_helper.py", line 76, in fail
    raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.11-c.exe', '-X', 'faulthandler', '-E', '-c', "mod = __import__('@test_1872_tmp-\\u5171\\u0141\\u2661\\u0363\\udc80')"]

stdout:
---

---

stderr:
---
Traceback (most recent call last):

  File "<string>", line 1, in <module>

ModuleNotFoundError: No module named '@test_1872_tmp-����������\udc80'
---

----------------------------------------------------------------------
Ran 84 tests in 2.300s

FAILED (failures=1, errors=1, skipped=16)
test_import failed (1 error, 1 failure)

== Tests result: FAILURE ==

1 test failed:
    test_import

Total duration: 2.7 sec
Total tests: run=84 failures=1 skipped=16
Total test files: run=1/1 failed=1
Result: FAILURE
test test_import failed
builder: pypy-c-jit-win-x86-64 build #2423+
test: lib-python/3/test/test_import::unmodified