Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Nov 3, 2023
1 parent 149d1e1 commit c1ec2aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keras/utils/audio_dataset_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def test_audio_dataset_from_directory_errors(self):
ValueError, "`class_names` passed did not match"
):
_ = audio_dataset_utils.audio_dataset_from_directory(
directory, class_names=["class_0", "class_2"]
directory, class_names=["class_0", "wrong_class"]
)

with self.assertRaisesRegex(ValueError, "there must be exactly 2"):
Expand Down
2 changes: 1 addition & 1 deletion keras/utils/image_dataset_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def test_image_dataset_from_directory_errors(self):
ValueError, "`class_names` passed did not match"
):
_ = image_dataset_utils.image_dataset_from_directory(
directory, class_names=["class_0", "class_2"]
directory, class_names=["class_0", "wrong_class"]
)

with self.assertRaisesRegex(ValueError, "there must be exactly 2"):
Expand Down
2 changes: 1 addition & 1 deletion keras/utils/text_dataset_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def test_text_dataset_from_directory_errors(self):
ValueError, "`class_names` passed did not match"
):
_ = text_dataset_utils.text_dataset_from_directory(
directory, class_names=["class_0", "class_2"]
directory, class_names=["class_0", "wrong_class"]
)

with self.assertRaisesRegex(ValueError, "there must be exactly 2"):
Expand Down

0 comments on commit c1ec2aa

Please sign in to comment.