diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-06-27 04:37:51 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-27 04:37:51 (GMT) |
| commit | ca97b64a653a1644090a75eeae4a04d2f3799436 (patch) | |
| tree | 4e6027e82123396a258fc7fe79081b0ee70aeafb /Python/pythonrun.c | |
| parent | 79f70cee7b4fe3596863bad43f1808af44a1d2ee (diff) | |
| download | cpython-ca97b64a653a1644090a75eeae4a04d2f3799436.zip cpython-ca97b64a653a1644090a75eeae4a04d2f3799436.tar.gz cpython-ca97b64a653a1644090a75eeae4a04d2f3799436.tar.bz2 | |
bpo-33975: Avoid small type when running IDLE's htests. (GH-7944)
Import pyshell first in htest to call SetProcessDpiAwareness on Windows
before tkinter.Tk() is called for the htest. Apparently, 'root.destroy()'
undoes a previous 'root = Tk()'. Since IDLE unittests always destroy roots,
a unittest before an htest does not require anything more to work right.
Since part of the purpose of human-viewed tests is to determine that
widgets look right, it is important that they look the same for testing
as when running IDLE.
(cherry picked from commit 3c8043d8fac4c0d05c0ba9e4e555e2f3165f2fe0)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
