mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
[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
This commit is contained in:
parent
5c8efa6077
commit
a4138b1f99
|
|
@ -1289,7 +1289,7 @@ def can_run_in_pytest(test):
|
||||||
return os.getenv("PYTORCH_TEST_DO_NOT_USE_PYTEST", "0") == "0"
|
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
|
selected_tests = options.include
|
||||||
|
|
||||||
# filter if there's JIT only and distributed only test options
|
# filter if there's JIT only and distributed only test options
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user