Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Broken Test Case Due to Changed Error Message #1881

Merged

Conversation

sahusiddharth
Copy link
Collaborator

This PR addresses a failing test case caused by changes introduced in PR #1879, which modified the error message format. The test has been updated to reflect the new error message, ensuring it passes successfully.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jan 25, 2025
@@ -191,7 +191,9 @@ def validate_samples(self, samples: t.List[Sample]) -> t.List[Sample]:
first_sample_type = type(samples[0])
for i, sample in enumerate(samples):
if not isinstance(sample, first_sample_type):
raise ValueError(f"Sample at index {i} is of type {type(sample)}, expected {first_sample_type}")
raise ValueError(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extra space here due to make run-ci

@Vidit-Ostwal
Copy link
Contributor

Thanks @sahusiddharth, for this, merging this would solve the other PR i had requested.
💪

@jjmachan jjmachan merged commit f9b76ee into explodinggradients:main Jan 27, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants