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

Add tests for duplicate dims in batch_dims and input_dims #139

Merged
merged 6 commits into from
Dec 16, 2022

Conversation

maxrjones
Copy link
Member

Description of proposed changes

This PR adds two tests for BatchGenerator when there are one or more dimensions included in both input_dims and batch_dims. The testing utilities are updated to account for this case. The tests currently fail due to #131, but including them will be helpful for finishing #132.

@maxrjones maxrjones requested a review from a team December 15, 2022 01:49
maxrjones and others added 2 commits December 16, 2022 10:31
Co-authored-by: Anderson Banihirwe <13301940+andersy005@users.noreply.github.com>
Copy link
Contributor

@norlandrhagen norlandrhagen left a comment

Choose a reason for hiding this comment

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

Maybe add some xfails so CI passes?

xbatcher/tests/test_generators.py Show resolved Hide resolved
xbatcher/tests/test_generators.py Show resolved Hide resolved
Co-authored-by: Raphael Hagen <norlandrhagen@gmail.com>
@maxrjones
Copy link
Member Author

Maybe add some xfails so CI passes?

Good idea, thanks!

@maxrjones maxrjones merged commit c0dd002 into main Dec 16, 2022
@maxrjones maxrjones deleted the update-testing-utils branch December 16, 2022 19:41
@maxrjones maxrjones added the maintenance Maintenance tasks label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants