Open keikoro opened 1 month ago
Most of these fail with error like this
(141.0, 121.0, 177.0) is not in list
Do we need to have them like this in the default dict?
DEFAULT_COLOR_DICT = {
"R": (255, 0, 0),
"G": (0, 255, 0),
"B": (0, 0, 255),
"O": (0, 0, 0),
"W": (255, 255, 255),
"A": (89, 225, 62),
"C": (113, 157, 108),
"D": (215, 182, 143),
"E": (57, 26, 252),
"F": (225, 135, 33),
"H": (39.0, 55.0, 203.0),
"I": (31.0, 79.0, 186.0),
"J": (96.0, 134.0, 129.0)
}
lists for compare with to_bitmap
and bitmap lists look like these, tested with setting G on exception handling
['OOOAOO', 'OOAGGO', 'OAGGCO', 'OGGCOO', 'OOCOOO']
['OOODOO', 'OOGGGO', 'OGGGGO', 'OGGGOO', 'OOCOOO']
['GGGGGG', 'GGGGGG', 'GGGGGG', 'GGGGGG', 'GGGGGG', 'GGGGGG']
['GGGGGG', 'GGGGGG', 'GGGGGG', 'GGGGGG', 'GGGGGG', 'GGGGGG']
ok after some debugging, seems the issue was that pillow was newest version, lowering it to 9.5.0 all tests are passing
test_rotate
starts failing at some point in most Windows and Linux versions.The only (Python) versions for which tests pass are:
Versions which fail:
Excerpt from log for Linux 3.8: