mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #25263: Trying to fix test_use on Windows.
This commit is contained in:
parent
96b6ff20d3
commit
29a2f7c6b3
1 changed files with 4 additions and 3 deletions
|
@ -91,9 +91,10 @@ class ToplevelTest(AbstractToplevelTest, unittest.TestCase):
|
|||
widget = self.create()
|
||||
self.assertEqual(widget['use'], '')
|
||||
parent = self.create(container=True)
|
||||
wid = parent.winfo_id()
|
||||
widget2 = self.create(use=wid)
|
||||
self.assertEqual(int(widget2['use']), wid)
|
||||
wid = hex(parent.winfo_id())
|
||||
with self.subTest(wid=wid):
|
||||
widget2 = self.create(use=wid)
|
||||
self.assertEqual(widget2['use'], wid)
|
||||
|
||||
|
||||
@add_standard_options(StandardOptionsTests)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue