➜

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 epaine
Recipients epaine, serhiy.storchaka, terry.reedy
Date 2021-10-16.16:29:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
This issue is to separately address the test_winfo_rgb failure reported by myself in #43139. This issue does not currently affect any of the buildbots.

---

On one computer I am experiencing a problem with the test_winfo_rgb test:

======================================================================
FAIL: test_winfo_rgb (tkinter.test.test_tkinter.test_misc.MiscTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/cpython/Lib/tkinter/test/test_tkinter/test_misc.py", line 213, in test_winfo_rgb
    self.assertEqual(rgb('#4a3c8c'), (0x4a4a, 0x3c3c, 0x8c8c))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Tuples differ: (19016, 15399, 35985) != (19018, 15420, 35980)

First differing element 0:
19016
19018

- (19016, 15399, 35985)
?      ^    ^^^      ^

+ (19018, 15420, 35980)
?      ^    ^^^      ^

I have tested another computer with a very similar setup (Plasma on X11) with exactly the same monitor (both using HDMI) and it passed this test. The only notable difference is one computer is using Intel integrated graphics while the other is Nvidia.
History
Date User Action Args
2021-10-16 16:29:00epainesetrecipients: + epaine, terry.reedy, serhiy.storchaka
2021-10-16 16:29:00epainesetmessageid: <[email protected]>
2021-10-16 16:29:00epainelinkissue45496 messages
2021-10-16 16:29:00epainecreate