You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with two (somewhat) different Python installations and get
(py310) 13:51:46 0 4 src% python fix-test-difference.py # oldish installation
Python 3.10.2 | packaged by conda-forge | (main, Mar 8 2022, 16:02:23) [Clang 11.1.0 ]
numpy 1.22.3
randn(seed=1) = 1.6243453636632417
18
68
(py3102np223) 15:46:41 0 29 src% python fix-test-difference.py # installed right before the test in Jan 2023
Python 3.10.2 | packaged by conda-forge | (main, Mar 8 2022, 16:02:23) [Clang 11.1.0 ]
numpy 1.22.3
randn(seed=1) = 1.6243453636632417
18
291
The latter result I get with any new Python installation, irrespectively of the version (and I see 54 instead of 291 with seed 4). I get the same when ensuring that scipy=1.7.3 in both cases.
Where does the difference come from?
How can we make the test robust to this change of installation?
The text was updated successfully, but these errors were encountered:
I am running this file, adapted from a test case
with two (somewhat) different Python installations and get
The latter result I get with any new Python installation, irrespectively of the version (and I see 54 instead of 291 with seed 4). I get the same when ensuring that
scipy=1.7.3
in both cases.The text was updated successfully, but these errors were encountered: