Skip to content

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

Merged
Mariatta merged 1 commit into
python:masterfrom
jonathaneunice:fix-issue-30603
Jun 13, 2017
Merged

bpo-30603: test textwrap.dedent with declining indent level#2014
Mariatta merged 1 commit into
python:masterfrom
jonathaneunice:fix-issue-30603

Conversation

@jonathaneunice

Copy link
Copy Markdown
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
Copy Markdown

@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
Copy Markdown
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