Skip to content

Commit f464e65

Browse files
committed
Fix formatting
1 parent 9b08713 commit f464e65

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

keras_hub/src/utils/preset_utils_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,7 @@ def test_kaggle_error_translation(self):
220220
# it), but the message points at gated-model consent.
221221
error = KaggleApiHTTPError("403 Client Error: Forbidden")
222222
with mock.patch("kagglehub.model_download", side_effect=error):
223-
with self.assertRaisesRegex(
224-
FileNotFoundError, "accept its terms"
225-
):
223+
with self.assertRaisesRegex(FileNotFoundError, "accept its terms"):
226224
get_file(preset, "missing.json")
227225
# Any other Kaggle API error should surface as-is, not as a
228226
# missing file.

0 commit comments

Comments
 (0)