File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
tensorflow-core/tensorflow-core-api/src/test/java/org/tensorflow Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -274,18 +274,12 @@ public void cannotExportOrImportInvalidTags() {
274
274
assertThrows (IllegalArgumentException .class , () ->
275
275
SavedModelBundle .loader ("/" ).withTags (new String []{"tag" , null })
276
276
);
277
- assertThrows (IllegalArgumentException .class , () ->
278
- SavedModelBundle .loader ("/" ).withTags (new String []{"tag" , "" })
279
- );
280
277
assertThrows (IllegalArgumentException .class , () ->
281
278
SavedModelBundle .exporter ("/" ).withTags (null )
282
279
);
283
280
assertThrows (IllegalArgumentException .class , () ->
284
281
SavedModelBundle .exporter ("/" ).withTags (new String []{"tag" , null })
285
282
);
286
- assertThrows (IllegalArgumentException .class , () ->
287
- SavedModelBundle .exporter ("/" ).withTags (new String []{"tag" , "" })
288
- );
289
283
}
290
284
291
285
@ Test
You can’t perform that action at this time.
0 commit comments