Skip to content

Commit fcea5ad

Browse files
committed
Tighten up a type in the tests.
1 parent 33e2882 commit fcea5ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jsonschema/tests/_suite.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _find_suite():
4949
class Suite:
5050

5151
_root: Path = field(factory=_find_suite)
52-
_remotes: Registry = field(init=False)
52+
_remotes: referencing.jsonschema.SchemaRegistry = field(init=False)
5353

5454
def __attrs_post_init__(self):
5555
jsonschema_suite = self._root.joinpath("bin", "jsonschema_suite")
@@ -101,7 +101,7 @@ def version(self, name) -> Version:
101101
class Version:
102102

103103
_path: Path
104-
_remotes: Registry
104+
_remotes: referencing.jsonschema.SchemaRegistry
105105

106106
name: str
107107

@@ -200,7 +200,7 @@ class _Test:
200200

201201
valid: bool
202202

203-
_remotes: Registry
203+
_remotes: referencing.jsonschema.SchemaRegistry
204204

205205
comment: str | None = None
206206

0 commit comments

Comments
 (0)