summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-06-27 04:48:55 (GMT)
committerGitHub <noreply@github.com>2018-06-27 04:48:55 (GMT)
commit5d2d9d7c08819c7fbdfd7906858609e5070c20dd (patch)
treeb199a1230cbbb7427d7808dd7c8b7ad4957f77e6 /Lib/random.py
parentc0327cefc7ef4892002970a73714f6bc6f70ce66 (diff)
downloadcpython-5d2d9d7c08819c7fbdfd7906858609e5070c20dd.zip
cpython-5d2d9d7c08819c7fbdfd7906858609e5070c20dd.tar.gz
cpython-5d2d9d7c08819c7fbdfd7906858609e5070c20dd.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 'Lib/random.py')
0 files changed, 0 insertions, 0 deletions