Skip to content

[3.7] bpo-33899: Make tokenize module mirror end-of-file is end-of-li…#8132

Merged
taleinat merged 1 commit intopython:3.7from
ammaraskar:backport-c4ef489-3.7
Jul 6, 2018
Merged

[3.7] bpo-33899: Make tokenize module mirror end-of-file is end-of-li…#8132
taleinat merged 1 commit intopython:3.7from
ammaraskar:backport-c4ef489-3.7

Conversation

@ammaraskar
Copy link
Copy Markdown
Member

@ammaraskar ammaraskar commented Jul 6, 2018

…ne behavior (pythonGH-7891)

Most of the change involves fixing up the test suite, which previously made
the assumption that there wouldn't be a new line if the input didn't end in
one.

Contributed by Ammar Askar..
(cherry picked from commit c4ef489)

Co-authored-by: Ammar Askar <[email protected]>
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.

4 participants