mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-108455: peg_generator: install two stubs packages before running mypy (#108637)
This commit is contained in:
parent
8178a88bd8
commit
77e8f233ac
4 changed files with 17 additions and 6 deletions
|
@ -116,7 +116,7 @@ def generate_parser_c_extension(
|
|||
def print_memstats() -> bool:
|
||||
MiB: Final = 2**20
|
||||
try:
|
||||
import psutil # type: ignore[import]
|
||||
import psutil
|
||||
except ImportError:
|
||||
return False
|
||||
print("Memory stats:")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue