3-element color space
| 2364 | """Enum when all members are also (and must be) strings""" |
| 2365 | |
| 2366 | class Color(StringEnum): |
| 2367 | """3-element color space""" |
| 2368 | |
| 2369 | RED = "1" |
| 2370 | GREEN = "2" |
| 2371 | BLUE = "3" |
| 2372 | |
| 2373 | def is_green(self): |
| 2374 | return self is Color.GREEN |
| 2375 | |
| 2376 | green1, green2, ClonedColor = pickle_depickle( |
| 2377 | [Color.GREEN, Color.GREEN, Color], protocol=self.protocol |
nothing calls this directly
no outgoing calls
no test coverage detected