Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /randovania_randovania /test /lib /test_enum_lib.py
| from __future__ import annotations | |
| from enum import Enum | |
| import pytest | |
| from randovania.lib import enum_lib | |
| def test_add_missing_fields(): | |
| class A(Enum): | |
| first = 1 | |
| second = 2 | |
| with pytest.raises(ValueError, match="long_name for <enum 'A'> are not synchronized"): | |
| enum_lib.add_long_name(A, {A.first: "FIRST"}) | |
Xet Storage Details
- Size:
- 345 Bytes
- Xet hash:
- 46e0b3f3c6509ba6aff783f62fc914ac7115d9d09620e07d689dca381059a975
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.