summaryrefslogtreecommitdiff
path: root/jsonschema
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2023-02-21 13:52:59 +0200
committerJulian Berman <Julian@GrayVines.com>2023-02-21 13:52:59 +0200
commitfcea5ad0472b6141b1f1b686200fb9f26c0af326 (patch)
treed827bc26759f4319ba906981d7aaa36c353c16b7 /jsonschema
parent33e28824ab6b5f9d29a181382ed731b3faf2f686 (diff)
downloadjsonschema-fcea5ad0472b6141b1f1b686200fb9f26c0af326.tar.gz
Tighten up a type in the tests.
Diffstat (limited to 'jsonschema')
-rw-r--r--jsonschema/tests/_suite.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/jsonschema/tests/_suite.py b/jsonschema/tests/_suite.py
index 7f14ca5..6be05be 100644
--- a/jsonschema/tests/_suite.py
+++ b/jsonschema/tests/_suite.py
@@ -49,7 +49,7 @@ def _find_suite():
class Suite:
_root: Path = field(factory=_find_suite)
- _remotes: Registry = field(init=False)
+ _remotes: referencing.jsonschema.SchemaRegistry = field(init=False)
def __attrs_post_init__(self):
jsonschema_suite = self._root.joinpath("bin", "jsonschema_suite")
@@ -101,7 +101,7 @@ class Suite:
class Version:
_path: Path
- _remotes: Registry
+ _remotes: referencing.jsonschema.SchemaRegistry
name: str
@@ -200,7 +200,7 @@ class _Test:
valid: bool
- _remotes: Registry
+ _remotes: referencing.jsonschema.SchemaRegistry
comment: str | None = None