This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Old ctypes.macholib tests are ignored by python -m test
Type: behavior Stage: patch review
Components: Tests Versions: Python 3.11, Python 3.10, Python 3.9, Python 3.8, Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: arhadthedev
Priority: normal Keywords: patch

Created on 2022-03-24 10:44 by arhadthedev, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 32094 open arhadthedev, 2022-03-24 10:44
Messages (1)
msg415935 - (view) Author: Oleg Iarygin (arhadthedev) * Date: 2022-03-24 10:44
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
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91265
2022-03-24 10:44:47arhadthedevsetkeywords: + patch
stage: patch review
pull_requests: + pull_request30178
2022-03-24 10:44:34arhadthedevcreate