]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-30855: Trying to fix test_use on Windows. (#2586)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 6 Jul 2017 08:22:50 +0000 (10:22 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Jul 2017 08:22:50 +0000 (10:22 +0200)
commitf6d6480b93eca6f353784579108957108750c004
treeaf70058ba9f27f4557c94d105ca5e18035a17237
parentaf6c5474cc133665d719f25281b10ecf0b303545
[2.7] bpo-30855: Trying to fix test_use on Windows. (#2586)

* bpo-30855: Trying to fix test_use on Windows.

Avoid possible weird behavior of WideInt convertion.
"winfo id" always returns string hexadecimal representation.

(cherry picked from commit b9d672491d5082c541bf267eb7bb99fdc6529324)

* bpo-30855: Trying to fix test_use on Windows.

(cherry picked from commit 29a2f7c6b38e5a6ed891aa72af38974a1ff2d372)
(subTest() removed since it was introduced in Python 3)
Lib/lib-tk/Tkinter.py
Lib/lib-tk/test/test_tkinter/test_widgets.py