Skip to content

Commit c1fe75f

Browse files
committed
Add support for the comment field in upstream tests.
Handles the change from json-schema-org/JSON-Schema-Test-Suite#357. Right now nothing is done with the comment (i.e. it's not shown during test failures). Maybe later that'll change.
1 parent 3f58e36 commit c1fe75f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jsonschema/tests/_suite.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ class _Test(object):
169169

170170
_remotes = attr.ib()
171171

172+
comment = attr.ib(default=None)
173+
172174
def __repr__(self): # pragma: no cover
173175
return "<Test {}>".format(self.fully_qualified_name)
174176

0 commit comments

Comments
 (0)