def METHOD_NAME(self):
    with visible(Entry()) as e:
        e.set_max_width_chars(4)
        nat1 = e.get_preferred_width()[1]
        e.set_max_width_chars(40)
        nat2 = e.get_preferred_width()[1]
        self.assertTrue(nat1 < nat2)