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

Show how @parameterized could replace @data_provider #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lizard-boy
Copy link

Summary

@data_provider seems unnecessary to include in libcst. Why not use a pypi equivalent. Here is an example using parameterized

Let me know what you think and I'll convert the rest of the tests

Test Plan

(libcstvenv) lpetre@lpetre-mbp LibCST % python -m unittest libcst._nodes.tests.test_assert
..........
----------------------------------------------------------------------
Ran 10 tests in 0.080s

OK

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