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

Investigate replacing "hypothesis" with the new "unittest.TestCase.subTest" #881

Closed
rahulporuri opened this issue Jul 22, 2021 · 0 comments · Fixed by #912
Closed

Investigate replacing "hypothesis" with the new "unittest.TestCase.subTest" #881

rahulporuri opened this issue Jul 22, 2021 · 0 comments · Fixed by #912

Comments

@rahulporuri
Copy link
Contributor

It looks like we're using hypothesis in a way which can now be replaced with the new unittest.TestCase.subTest. This needs to be investigated and if we can replace hypothesis, we should. It'll reduce the number of test dependencies.

https://github.com/enthought/enable/blob/588cde79a0e7099e2c0368d3e8e2e3664a296e61/kiva/tests/test_graphics_context.py

@corranwebster corranwebster added this to the 5.3.0 Release milestone Mar 9, 2022
corranwebster added a commit that referenced this issue Mar 15, 2022
The use of Hypothesis was just to repeat a test with different values.
Replacing with subTest is straightforward.

Fixes #881.
corranwebster added a commit that referenced this issue Mar 15, 2022
The use of Hypothesis was just to repeat a test with different values.
Replacing with subTest is straightforward.

Fixes #881.
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