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

Better test coverage for util.py #18

Merged
merged 1 commit into from
Dec 3, 2023
Merged

Conversation

MyFunnyCat
Copy link

No description provided.

@MyFunnyCat MyFunnyCat changed the base branch from master to v1.0 December 2, 2023 13:13
def test_bunch():
dict = {'a': 1, 'b': None, 'c': 3 * np.ones(3)}
bunch = util.Bunch(dict)
assert(bunch.a == 1)
Copy link
Owner

Choose a reason for hiding this comment

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

assert is not a function, but statement (no () are required).

@nmayorov nmayorov merged commit 0c86073 into nmayorov:v1.0 Dec 3, 2023
1 check failed
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.

2 participants