We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21de42f commit 34b3d8bCopy full SHA for 34b3d8b
tests/onnxruntime/test_modeling.py
@@ -974,7 +974,7 @@ def test_stable_diffusion_model_on_rocm_ep_str(self):
974
def test_load_model_from_hub_private(self):
975
token = os.environ.get("HF_HUB_READ_TOKEN", None)
976
977
- if token is None:
+ if not token:
978
self.skipTest(
979
"Test requires a read access token for optimum-internal-testing in the environment variable `HF_HUB_READ_TOKEN`."
980
)
0 commit comments