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() {
274274 assertThrows (IllegalArgumentException .class , () ->
275275 SavedModelBundle .loader ("/" ).withTags (new String []{"tag" , null })
276276 );
277- assertThrows (IllegalArgumentException .class , () ->
278- SavedModelBundle .loader ("/" ).withTags (new String []{"tag" , "" })
279- );
280277 assertThrows (IllegalArgumentException .class , () ->
281278 SavedModelBundle .exporter ("/" ).withTags (null )
282279 );
283280 assertThrows (IllegalArgumentException .class , () ->
284281 SavedModelBundle .exporter ("/" ).withTags (new String []{"tag" , null })
285282 );
286- assertThrows (IllegalArgumentException .class , () ->
287- SavedModelBundle .exporter ("/" ).withTags (new String []{"tag" , "" })
288- );
289283 }
290284
291285 @ Test
You can’t perform that action at this time.
0 commit comments