Message373658
heapq.py imports doctest in the last 4 lines to perform unit tests:
if __name__ == "__main__":
import doctest # pragma: no cover
print(doctest.testmod()) # pragma: no cover
This disrupts dependency tracking modules and software, like modulegraph and pyinstaller, as doctest brings in many dependencies (including ctypes as of 3.8).
This functionality could be factored out into a separate unit-testing file. |
|
Date |
User |
Action |
Args |
2020-07-14 21:49:24 | alexchandel | set | recipients:
+ alexchandel |
2020-07-14 21:49:24 | alexchandel | set | messageid: <1594763364.19.0.785950162701.issue41297@roundup.psfhosted.org> |
2020-07-14 21:49:24 | alexchandel | link | issue41297 messages |
2020-07-14 21:49:24 | alexchandel | create | |
|