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

Change test_utilities to pytest #1680

Merged
merged 1 commit into from Oct 4, 2021
Merged

Conversation

Ericgig
Copy link
Member

@Ericgig Ericgig commented Sep 30, 2021

Description
Update tests in test_utilities.py to pytest and add test for previouly untested function.
I removed 2 functions:
linspace_with: never used, almost equivalent to np.linspace.
view_methods: supposed to print methods of a Qobj, but broken...

Changelog
Update tests in test_utilities.py to pytest.
Remove broken qutip.utilities.view_methods.
Remove qutip.utilities.linspace_with (use numpy.linspace instead).

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 66.073% when pulling 04ea09a on Ericgig:test_utilities into 866700d on qutip:master.

@hodgestar hodgestar added this to the QuTiP 4.7 milestone Oct 3, 2021
Copy link
Contributor

@hodgestar hodgestar left a comment

Choose a reason for hiding this comment

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

+1 on removing linspace_with and view_methods.

@Ericgig Ericgig merged commit 3ef52ec into qutip:master Oct 4, 2021
@Ericgig Ericgig deleted the test_utilities branch October 27, 2021 20:03
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.

None yet

3 participants