Skip to content

Commit cdf2ee5

Browse files
committed
try to make doctests not care about exact numberical result
1 parent 55159b8 commit cdf2ee5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

causalpy/pymc_models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ class PyMCModel(pm.Model):
5959
... )
6060
>>> model.fit(X, y)
6161
Inference data...
62-
>>> model.score(X, y)
63-
r2 0.19157
64-
r2_std 0.11238
62+
>>> model.score(X, y) # doctest: +ELLIPSIS
63+
r2 ...
64+
r2_std ...
6565
dtype: float64
6666
>>> X_new = rng.normal(loc=0, scale=1, size=(20,2))
6767
>>> model.predict(X_new)

0 commit comments

Comments
 (0)