Skip to content

Allow component comparisons without skip_keys - #300

Open
codewithfourtix wants to merge 1 commit into
google-deepmind:mainfrom
codewithfourtix:fix-component-comparison-default-skip-keys
Open

Allow component comparisons without skip_keys#300
codewithfourtix wants to merge 1 commit into
google-deepmind:mainfrom
codewithfourtix:fix-component-comparison-default-skip-keys

Conversation

@codewithfourtix

Copy link
Copy Markdown
Contributor

deep_compare_components() defaults skip_keys to None but immediately checks membership in it, raising TypeError. Guard the optional set before checking membership.

Adds tests for nested comparisons with the default arguments, mismatches, and explicit skipped keys.

Signed-off-by: Ali Zulfiqar <codewithfourtix@gmail.com>
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.

1 participant