This code doesn't type check, even though it works at runtime: ```py from mock import patch @patch('builtins.ord') def f(mock) -> None: print(mock) f() # Too few arguments for "f" (mypy error) ```
Activity
Fix patch() used as decorator
Fix patch() used as decorator (#4592)