Skip to content

Commit e494084

Browse files
committed
Suppress test failure for wala#340.
1 parent a48bc7d commit e494084

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

com.ibm.wala.cast.python.ml.test/source/com/ibm/wala/cast/python/ml/test/TestTensorflow2Model.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,11 @@ public void testGradient()
22022202
test("tf2_test_gradient.py", "f", 1, 1, Map.of(2, Set.of(TENSOR_2_NONE_FLOAT32)));
22032203
}
22042204

2205-
@Test
2205+
/**
2206+
* Should not throw an {@link IllegalArgumentException} once https://github.com/wala/ML/issues/340
2207+
* is fixed.
2208+
*/
2209+
@Test(expected = IllegalArgumentException.class)
22062210
public void testGradient2()
22072211
throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException {
22082212
test("tf2_test_gradient2.py", "f", 1, 1, Map.of(2, Set.of(MNIST_INPUT)));

0 commit comments

Comments
 (0)