(self)
| 3469 | self.assertEqual(Color.ORG.ORG, 'huh') |
| 3470 | |
| 3471 | def test_add_value_alias_after_creation(self): |
| 3472 | class Color(Enum): |
| 3473 | RED = 1 |
| 3474 | GREEN = 2 |
| 3475 | BLUE = 3 |
| 3476 | Color.RED._add_value_alias_(5) |
| 3477 | self.assertIs(Color.RED, Color(5)) |
| 3478 | |
| 3479 | def test_add_value_alias_during_creation(self): |
| 3480 | class Types(Enum): |
nothing calls this directly
no test coverage detected