Be able to load the data
This commit is contained in:
parent
d14ba09dbb
commit
3ab7fc3853
|
@ -17,10 +17,10 @@ from twisted.python.filepath import FilePath
|
||||||
|
|
||||||
from ..util import CHK, SSK
|
from ..util import CHK, SSK
|
||||||
|
|
||||||
DATA_PATH: FilePath = FilePath(__file__).sibling("vectors").child("test_vectors.yaml")
|
DATA_PATH: FilePath = FilePath(__file__).sibling("test_vectors.yaml")
|
||||||
|
|
||||||
# The version of the persisted test vector data this code can interpret.
|
# The version of the persisted test vector data this code can interpret.
|
||||||
CURRENT_VERSION: str = "2023-01-16"
|
CURRENT_VERSION: str = "2023-01-16.2"
|
||||||
|
|
||||||
@frozen
|
@frozen
|
||||||
class Sample:
|
class Sample:
|
||||||
|
@ -135,7 +135,7 @@ def load_capabilities(f: TextIO) -> dict[Case, str]:
|
||||||
if data["version"] != CURRENT_VERSION:
|
if data["version"] != CURRENT_VERSION:
|
||||||
print(
|
print(
|
||||||
f"Current version is {CURRENT_VERSION}; "
|
f"Current version is {CURRENT_VERSION}; "
|
||||||
"cannot load version {data['version']} data."
|
f"cannot load version {data['version']} data."
|
||||||
)
|
)
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue