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

bpo-30603: test textwrap.dedent with declining indent level #2014

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

jonathaneunice
Copy link
Contributor

Coverage tool shows that a case in textwrap.dedent previously untested: When dedent initially sees a longer indent, followed by a shorter indent, so that it has to revise its margin estimate downward.

Added test for this case.

@mention-bot
Copy link

@jonathaneunice, thanks for your PR! By analyzing the history of the files in this pull request, we identified @serhiy-storchaka, @ezio-melotti and @Yhg1s to be potential reviewers.

@Mariatta Mariatta added the tests Tests in the Lib/test dir label Jun 13, 2017
@Mariatta Mariatta merged commit 601483d into python:master Jun 13, 2017
@Mariatta
Copy link
Member

Thanks @jonathaneunice 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants