mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[CI] Prevent accidental gql_mocks updates by test_trymerge (#160490)
As they could not longer be fetched from GitHub, see https://github.com/pytorch/pytorch/issues/160489 Pull Request resolved: https://github.com/pytorch/pytorch/pull/160490 Approved by: https://github.com/huydhn
This commit is contained in:
parent
ba47821f52
commit
d0f9785af3
3
.github/scripts/test_trymerge.py
vendored
3
.github/scripts/test_trymerge.py
vendored
|
|
@ -70,6 +70,9 @@ def mock_query(
|
|||
if key in mocked_queries:
|
||||
return mocked_queries[key]
|
||||
|
||||
# TODO: Remove me once https://github.com/pytorch/pytorch/issues/160489 is resolved
|
||||
raise ValueError(f"Key {key} could not be found in gql_mocks")
|
||||
|
||||
try:
|
||||
rc = fallback_function(*args)
|
||||
except HTTPError as err:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user