From a4138b1f99bd14b38466fc81405fd15f62d87dba Mon Sep 17 00:00:00 2001 From: Catherine Lee Date: Mon, 11 Sep 2023 21:11:20 +0000 Subject: [PATCH] [ez] Fix small type error in run_test (#109036) This is really small but it has tripped me up at least 3 times. Pull Request resolved: https://github.com/pytorch/pytorch/pull/109036 Approved by: https://github.com/kit1980 --- test/run_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_test.py b/test/run_test.py index e90a991161c..370d96d00cb 100755 --- a/test/run_test.py +++ b/test/run_test.py @@ -1289,7 +1289,7 @@ def can_run_in_pytest(test): return os.getenv("PYTORCH_TEST_DO_NOT_USE_PYTEST", "0") == "0" -def get_selected_tests(options) -> List[ShardedTest]: +def get_selected_tests(options) -> List[str]: selected_tests = options.include # filter if there's JIT only and distributed only test options