Skip to content

Commit a0559e0

Browse files
committed
Removing inaccurate tests.
1 parent 80a5d1c commit a0559e0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tensorflow-core/tensorflow-core-api/src/test/java/org/tensorflow/SavedModelBundleTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)