Skip to content

Show how @parameterized could replace @data_provider - #10

Open
lizard-boy wants to merge 1 commit into
mainfrom
parameterized
Open

Show how @parameterized could replace @data_provider#10
lizard-boy wants to merge 1 commit into
mainfrom
parameterized

Conversation

@lizard-boy

Copy link
Copy Markdown

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.

1 participant