Skip to content

Commit 405b4df

Browse files
authored
Make the time shorter in TimeConstrained tests (#1189)
This change should make these tests more stable.
1 parent a3eb4f2 commit 405b4df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/builtin/test_datentime.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ def test_private_doctests_datetime(str_expr, msgs, str_expected, fail_msg):
136136
[
137137
##
138138
(
139-
"TimeConstrained[Integrate[Sin[x]^100,x],1.1]",
139+
"TimeConstrained[Integrate[Sin[x]^100,x],.001]",
140140
None,
141141
"$Aborted",
142142
"TimeConstrained with two arguments",
143143
),
144144
(
145-
"TimeConstrained[Integrate[Sin[x]^100,x],1.1, Integrate[Cos[x],x]]",
145+
"TimeConstrained[Integrate[Sin[x]^100,x],.001, Integrate[Cos[x],x]]",
146146
None,
147147
"Sin[x]",
148148
"TimeConstrained with three arguments",

0 commit comments

Comments
 (0)