commit | ab75d9e4244ee24bc96ea9d52362899e3bf365a2 | [log] [tgz] |
---|---|---|
author | Ammar Askar <ammar_askar@hotmail.com> | Fri Jul 06 06:21:05 2018 -0400 |
committer | Tal Einat <taleinat+github@gmail.com> | Fri Jul 06 13:21:05 2018 +0300 |
tree | 8cb346e5bdbce3ffe84799b1222fc5450726ea22 | |
parent | 625755eb8cc2d10e02b06fb8f296252c5238a1ef [diff] |
[3.7] bpo-33899: Make tokenize module mirror end-of-file is end-of-line behavior (GH-7891) (GH-8132) 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 c4ef4896eac86a6759901c8546e26de4695a1389)