This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients taleinat, terry.reedy
Date 2019-01-13.17:22:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547400161.39.0.565587662986.issue35730@roundup.psfhosted.org>
In-reply-to
Content
PR 10454 for #35196 added, among other things, more tests to test_squeezer.py.  SqueezerTest.test_reload initially worked on Mac and personal Windows machines. It failed on Cheryl Sabella's personal Ubuntu machine because doubling the nominal font size did not necessarily exactly double the reported pixel size of '0'.  This was easily fixed by testing only that the size increased.

self.assertGreater(squeezer.zero_char_width, orig_zero_char_width)

It failed on CI Linux and Windows machines because the pixel size did not increase at all. This was fixed for the CI machines by directly assigning a new font tuple to text['font'] instead of involving the idleConf machinery.  However, after merging, it failed with the same error that previously occurred on the CI machines.

AssertionError: 6 not greater than 6.

The initial fix will be to disable the assertion.
History
Date User Action Args
2019-01-13 17:22:43terry.reedysetrecipients: + terry.reedy, taleinat
2019-01-13 17:22:41terry.reedysetmessageid: <1547400161.39.0.565587662986.issue35730@roundup.psfhosted.org>
2019-01-13 17:22:41terry.reedylinkissue35730 messages
2019-01-13 17:22:41terry.reedycreate