From f9af2731508d7bc379bbbc5731d2f2f649808bb9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 23 Dec 2021 10:18:42 +0530 Subject: [PATCH] Try to convince mypy to play nice --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index eb27cd99c..c093f41b2 100755 --- a/test.py +++ b/test.py @@ -41,7 +41,7 @@ def main() -> None: ): init_env() m = importlib.import_module('kitty_tests.main') - m.run_tests() # type: ignore + getattr(m, 'run_tests')() if __name__ == '__main__':