-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
pygettext: Clean up obsolete tests and improve test coverage #130197
Comments
As I said on the PR, even if the tests may be redundant, they are still checking that running the tool with |
A lot of them are redundant, for instance In addition to removing some of the tests, we might also want to add one test that checks that the docstrings are not extracted when the |
Ok for removing the tests, but it would be good that we have an E2E test for |
Yes of course, that is not going away, I actually think the we need more tests for the CLI in general, but the other tests just get in the way for little gain |
The use of |
I see, I didn't consider the (hopefully unlikely!) possibility of changing the implementation. In that case, let's keep the tests and let's focus on actually fully testing the CLI - there are still many options/flags which are not tested at all currently. |
ast.get_docstring
is now used making many tests obsolete.Linked PRs
--exclude-file
option #131381--escape
option #131902The text was updated successfully, but these errors were encountered: