comments
This commit is contained in:
parent
97b397870b
commit
daad22d1b1
|
@ -1,7 +1,15 @@
|
||||||
|
"""
|
||||||
|
A module that loads pre-generated test vectors.
|
||||||
|
|
||||||
|
:ivar CHK_PATH: The path of the file containing CHK test vectors.
|
||||||
|
|
||||||
|
:ivar chk: The CHK test vectors.
|
||||||
|
"""
|
||||||
|
|
||||||
from yaml import safe_load
|
from yaml import safe_load
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
CHK_PATH = Path(__file__).parent / "_vectors_chk.yaml"
|
CHK_PATH: Path = Path(__file__).parent / "_vectors_chk.yaml"
|
||||||
|
|
||||||
with CHK_PATH.open() as f:
|
with CHK_PATH.open() as f:
|
||||||
chk = safe_load(f)
|
chk: dict[str, str] = safe_load(f)
|
||||||
|
|
Loading…
Reference in New Issue