Skip to content

Commit 69424b7

Browse files
author
Jan Gleixner
committed
remove irrelevant try catch from test
1 parent 47319f1 commit 69424b7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test_ICP.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ def test_runs(self):
2020
beta = np.array([1, -2, 0, 0])
2121
y = X.dot(beta)
2222
X[:, 3] += y
23-
try:
24-
s = icpy.invariant_causal_prediction(X, y, E)
25-
except:
26-
self.fail("invariant_causal_prediction() raised an exception unexpectedly!")
23+
icpy.invariant_causal_prediction(X, y, E)
2724

2825
def test_simple(self):
2926
np.random.seed(seed=1)

0 commit comments

Comments
 (0)