Skip to content

Commit 71d22e0

Browse files
committed
Clarify comment
1 parent 3164e70 commit 71d22e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_sample.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ def test_bernoulli_good(stanfile: str):
7474

7575
for i in range(bern_fit.runset.chains):
7676
csv_file = bern_fit.runset.csv_files[i]
77-
# NB this assumes we're not using threads for chains
77+
# NB: This will fail if STAN_THREADS is enabled
78+
# due to sampling only producing 1 stdout file in that case
7879
stdout_file = bern_fit.runset.stdout_files[i]
7980
assert os.path.exists(csv_file)
8081
assert os.path.exists(stdout_file)

0 commit comments

Comments
 (0)