We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47319f1 commit 69424b7Copy full SHA for 69424b7
tests/test_ICP.py
@@ -20,10 +20,7 @@ def test_runs(self):
20
beta = np.array([1, -2, 0, 0])
21
y = X.dot(beta)
22
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!")
+ icpy.invariant_causal_prediction(X, y, E)
27
28
def test_simple(self):
29
np.random.seed(seed=1)
0 commit comments