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

Tests: check isinstance instead of type #260

Closed
Roel opened this issue Apr 18, 2020 · 0 comments · Fixed by #271
Closed

Tests: check isinstance instead of type #260

Roel opened this issue Apr 18, 2020 · 0 comments · Fixed by #271
Assignees
Milestone

Comments

@Roel
Copy link
Member

Roel commented Apr 18, 2020

From the pyOpenSci review:

In the tests, you can change assert type(df) is DataFrame to assert isinstance(df, DataFrame)

This applies generally I think and needs to be checked and refactored everywhere in the tests (i.e. not only for the DataFrame case)

@Roel Roel added the tests label Apr 18, 2020
@Roel Roel added this to the v2.0.0 milestone Apr 18, 2020
@jorissynaeve jorissynaeve self-assigned this May 28, 2020
@jorissynaeve jorissynaeve linked a pull request May 28, 2020 that will close this issue
@Roel Roel closed this as completed in #271 May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants