Skip to content

Commit d6188c2

Browse files
committed
Typing fixes
1 parent c1274ae commit d6188c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_yaml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __str__(self) -> str:
4545
return str(self.name)
4646

4747
to_yaml = classmethod(yaml.enum_to_yaml)
48-
from_yaml: Any = classmethod(yaml.enum_from_yaml)
48+
from_yaml = classmethod(yaml.enum_from_yaml) # type: ignore[var-annotated]
4949

5050
yml = yaml.yaml(classes_to_register=[TestEnum])
5151
input_value = TestEnum.a

0 commit comments

Comments
 (0)