branch | stable |
changeset 49272 | fda7ec505dc5 |
parent 45559 | 07731064ac41 |
child 49279 | 127d33e63d1a |
--- a/hgdemandimport/__init__.py Wed Jun 01 03:08:15 2022 +0200 +++ b/hgdemandimport/__init__.py Thu Jun 02 02:05:11 2022 +0200 @@ -66,6 +66,9 @@ if _pypy: # _ctypes.pointer is shadowed by "from ... import pointer" (PyPy 5) IGNORES.add('_ctypes.pointer') + # pure Python module on PyPy, must be loaded to raise ModuleNotFoundError + # on non-Windows platforms + IGNORES.add('msvcrt') demandimport.init(IGNORES)