Skip to content

Commit

Permalink
Closes #9501. Add link to bug description.
Browse files Browse the repository at this point in the history
  • Loading branch information
sklam committed Mar 19, 2024
1 parent d535e98 commit 63164d5
Showing 1 changed file with 9 additions and 4 deletions.
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

0 comments on commit 63164d5

Please sign in to comment.