Skip to content

Commit b665830

Browse files
committed
grammar
1 parent 5a8d624 commit b665830

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_adapters/test_adapters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def registered_but_changed(x): # noqa: F811
154154
with pytest.raises(ValueError):
155155
SerializableCustomTransform(forward=registered_fn, inverse=not_registered_fn)
156156

157-
# function does not match registered function
157+
# function does not match the registered function
158158
with pytest.raises(ValueError):
159159
SerializableCustomTransform(forward=registered_but_changed, inverse=registered_fn)
160160
with pytest.raises(ValueError):
@@ -170,7 +170,7 @@ def registered_but_changed(x): # noqa: F811
170170
with pytest.raises(TypeError):
171171
keras.saving.deserialize_keras_object(corrupt_serialized_transform)
172172

173-
# modify name of the inverse transform so that it cannot be found
173+
# modify the name of the inverse transform so that it cannot be found
174174
corrupt_serialized_transform = deepcopy(serialized_transform)
175175
corrupt_serialized_transform["config"]["inverse"]["config"] = "nonexistent"
176176
with pytest.raises(TypeError):

0 commit comments

Comments
 (0)