(self)
| 3503 | self.assertIs(Cardinal(-1, 0), Cardinal.LEFT) |
| 3504 | |
| 3505 | def test_no_members(self): |
| 3506 | with self.assertRaisesRegex( |
| 3507 | TypeError, |
| 3508 | 'has no members', |
| 3509 | ): |
| 3510 | Enum(7) |
| 3511 | with self.assertRaisesRegex( |
| 3512 | TypeError, |
| 3513 | 'has no members', |
| 3514 | ): |
| 3515 | Flag(7) |
| 3516 | |
| 3517 | def test_empty_names(self): |
| 3518 | for nothing in '', [], {}: |
nothing calls this directly
no test coverage detected