Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Closes #9501. Add link to bug description.
  • Loading branch information
sklam committed Mar 19, 2024
commit 560cf3b39aea0e078d65f202a6d79be56d06d299
13 changes: 9 additions & 4 deletions numba/tests/test_parfors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2377,11 +2377,16 @@ def test_issue9490_non_det_ssa_problem(self):
"-m",
"numba.tests.parfor_iss9490_usecase",
]

envs = {
**os.environ,
# Reproducer consistently fail with the following hashseed.
"PYTHONHASHSEED": "1",
# See https://github.com/numba/numba/issues/9501
# for details of why num-thread pinning is needed.
"NUMBA_NUM_THREADS": "1",
}
try:
subp.check_output(cmd, env={**os.environ,
"PYTHONHASHSEED": "1",
"NUMBA_NUM_THREADS": "1"},
subp.check_output(cmd, env=envs,
stderr=subp.STDOUT,
encoding='utf-8')
except subp.CalledProcessError as e:
Expand Down