(enum_type)
| 923 | |
| 924 | @pytest.mark.parametrize("enum_type", [Enum, IntEnum, IntFlag, Flag]) |
| 925 | def test_tokenize_enum(enum_type): |
| 926 | class Color(enum_type): |
| 927 | RED = 1 |
| 928 | BLUE = 2 |
| 929 | |
| 930 | assert check_tokenize(Color.RED) == check_tokenize(Color.RED) |
| 931 | assert check_tokenize(Color.RED) != check_tokenize(Color.BLUE) |
| 932 | |
| 933 | |
| 934 | @dataclasses.dataclass |
nothing calls this directly
no test coverage detected