Skip to content

Commit f26db1f

Browse files
committed
Increase iterations in TestProfile
Closes #6091 Related to aesara-devs/aesara#1246
1 parent a574ed5 commit f26db1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/tests/test_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,11 +1138,11 @@ def setup_method(self):
11381138
_, self.model, _ = simple_model()
11391139

11401140
def test_profile_model(self):
1141-
assert self.model.profile(self.model.logp()).fct_call_time > 0
1141+
assert self.model.profile(self.model.logp(), n=3000).fct_call_time > 0
11421142

11431143
def test_profile_variable(self):
11441144
rv = self.model.basic_RVs[0]
1145-
assert self.model.profile(self.model.logp(vars=[rv], sum=False)).fct_call_time
1145+
assert self.model.profile(self.model.logp(vars=[rv], sum=False), n=3000).fct_call_time > 0
11461146

11471147
def test_profile_count(self):
11481148
count = 1005

0 commit comments

Comments
 (0)