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

Created generic two column init tests and tidied test_EqualityChecker #240

Merged
merged 4 commits into from
May 1, 2024

Conversation

Chip2916
Copy link
Collaborator

@Chip2916 Chip2916 commented Apr 25, 2024

Looking to address two outstanding issues

204, generic init class for two column transformers
205, bring EqualityChecker test in line with new format

Hopefully this new generic class can be used for many of the date transformers, which use two columns as an input. At this stage these transformers take two separate args which are combined into a list, rather than the EqualityChecker which takes a list with two objects. After speaking with @limlam96 agreed that updating the date transformers to take as single arg sits outside this ticket.

'test_columns_non_list_error' seems to fail if anything other than string passed to pytest.mark.parametrize due to EqualityChecker reference to BaseTransformer which only accepts str or list, might be missing something here.

@Chip2916 Chip2916 marked this pull request as ready for review April 26, 2024 10:28
@Chip2916 Chip2916 requested a review from limlam96 April 26, 2024 11:00
@limlam96
Copy link
Contributor

Looks good, could you just add an entry to the changelog?

@Chip2916
Copy link
Collaborator Author

Chip2916 commented Apr 26, 2024

Looks good, could you just add an entry to the changelog?

Suree have done so now, also added ModeImputer comment to change log as did not do that when I refactored those tests

@Chip2916 Chip2916 changed the title Created generic two column init tests and tidied test_EqaulityChecker Created generic two column init tests and tidied test_EqualityChecker Apr 29, 2024
@Chip2916 Chip2916 merged commit db24bc3 into main May 1, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants