Skip to content

Commit 53c8fa6

Browse files
committed
Skip test based on random numbers
1 parent d320ed5 commit 53c8fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced/mathematical_optimization/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ scipy provides a helper function for this purpose:
894894
>>> x = np.linspace(0, 3, 50)
895895
>>> y = f(x, 1.5, 1) + .1*np.random.normal(size=50)
896896

897-
>>> optimize.curve_fit(f, x, y)
897+
>>> optimize.curve_fit(f, x, y) #doctest: +SKIP
898898
(array([ 1.51854577, 0.92665541]), array([[ 0.00037994, -0.00056796],
899899
[-0.00056796, 0.00123978]]))
900900

0 commit comments

Comments
 (0)