Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Lib/test/test_tkinter/test_geometry_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from test.support import requires

from test.test_tkinter.support import setUpModule # noqa: F401
from test.test_tkinter.support import pixels_conv
from test.test_tkinter.support import pixels_conv, get_tk_patchlevel
from test.test_tkinter.widget_tests import AbstractWidgetTest

requires('gui')
Expand Down Expand Up @@ -233,8 +233,8 @@ def test_pack_forget(self):

def test_pack_info(self):
pack, a, b, c, d = self.create2()
with self.assertRaisesRegex(TclError, 'window "%s" isn\'t packed' % a):
a.pack_info()
if get_tk_patchlevel(self.root) >= (9, 1, 1):
self.assertEqual(a.pack_info(), {})
a.pack_configure()
b.pack_configure(side='right', in_=a, anchor='s', expand=True, fill='x',
ipadx=5, padx=10, ipady=2, pady=(5, 15))
Expand Down
Loading