aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/java/src/test/java/org/tensorflow/op/ScopeTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/java/src/test/java/org/tensorflow/op/ScopeTest.java')
-rw-r--r--tensorflow/java/src/test/java/org/tensorflow/op/ScopeTest.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/tensorflow/java/src/test/java/org/tensorflow/op/ScopeTest.java b/tensorflow/java/src/test/java/org/tensorflow/op/ScopeTest.java
index 2fb2c1df48..0e9c7df697 100644
--- a/tensorflow/java/src/test/java/org/tensorflow/op/ScopeTest.java
+++ b/tensorflow/java/src/test/java/org/tensorflow/op/ScopeTest.java
@@ -17,7 +17,6 @@ package org.tensorflow.op;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import java.util.HashMap;
@@ -183,20 +182,6 @@ public class ScopeTest {
assertEquals(21704, result.intValue());
}
}
-
- @Test
- public void prefix() {
- try (Graph g = new Graph()) {
- Scope s = new Scope(g);
- assertNull(s.prefix());
-
- Scope sub1 = s.withSubScope("sub1");
- assertEquals("sub1", sub1.prefix());
-
- Scope sub2 = sub1.withSubScope("sub2");
- assertEquals("sub1/sub2", sub2.prefix());
- }
- }
// "handwritten" sample operator classes
private static final class Const<T> {