From e69b02ad463f83566aa0fee4f7a90aa2776efc14 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 28 Aug 2022 21:13:54 +0530 Subject: [PATCH] ... --- kitty_tests/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/main.py b/kitty_tests/main.py index ee636bfcc..707891ec9 100644 --- a/kitty_tests/main.py +++ b/kitty_tests/main.py @@ -193,7 +193,7 @@ def run_tests() -> None: if args.name: tests = filter_tests_by_name(tests, *args.name) - if not tests._tests: + if not tests._tests and not go_pkgs: raise SystemExit('No test named %s found' % args.name) python_tests_ok = run_cli(tests, args.verbosity) exit_code = 0 if python_tests_ok else 1