New submission from Oleg Iarygin <o...@arhadthedev.net>:
Some tests for `ctypes.macholib.dyld` and all tests for `ctypes.macholib.dylib` and `ctypes.macholib.framework` are located outside of expected `ctypes.test` module and were not ported from `assert` to `unittest` facilities. This causes the following problems: - the tests aren't run by `python -m test` so they are effectively dead - an end user can run them by `python -m ctypes.macholib.dyld`, `python -m ctypes.macholib.dylib`, and `python -m ctypes.macholib.framework` - they are available even if a user chose to install CPython without tests ---------- components: Tests messages: 415935 nosy: arhadthedev priority: normal severity: normal status: open title: Old ctypes.macholib tests are ignored by python -m test type: behavior versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47109> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com