Don't use global np.random.seed in tests #13345
Labels
Easy
Well-defined and straightforward way to resolve
good first issue
Easy with clear instructions to resolve
help wanted
A few tests and doctests are currently setting
np.random.seed
globally. Unless I'm missing something, we should avoid that as it has the potential to bothrandom_state
may behave deterministically because of this when run as part of the full test suite (given that test order is deterministic now) but yield another result when run separately.The text was updated successfully, but these errors were encountered: