◐ Shell
clean mode source ↗

gh-91265: Make old ctypes.macholib tests runned by `python -m test` by arhadthedev · Pull Request #32094 · python/cpython

After rebuild against this PR: tests:
cpython on  pr/32094 via 🐍 v3.11.0a6+
✦ ❯ ./python -m unittest -vvv Lib/ctypes/test/test_macholib.py
Ran 3 tests in 0.000s
OK (skipped=3)

Or
./python -m test -vvv test_macholib
0:00:00 load avg: 1.07 Run tests sequentially
0:00:00 load avg: 1.07 [1/1] test_macholib
test test_macholib crashed -- Traceback (most recent call last):
File "/home/me/Documents/cpython/Lib/test/libregrtest/runtest.py", line 352, in _runtest_inner
refleak = _runtest_inner2(ns, test_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/me/Documents/cpython/Lib/test/libregrtest/runtest.py", line 292, in _runtest_inner2
the_module = importlib.import_module(abstest)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/me/Documents/cpython/Lib/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'test.test_macholib'