File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ):
You can’t perform that action at this time.
0 commit comments