1. 10 5月, 2022 39 次提交
  2. 09 5月, 2022 1 次提交
    • Brandon T. Willard's avatar
      Update numpy.random usage in tests · 6cca25e3
      Brandon T. Willard 提交于
      - Use newer, NumPy-recommended `numpy.random` functions (e.g. replace `rand`
        `random`, `randn` with `standard_normal`, etc.)
      - Seed some unseeded/inconsistently seeded tests
      - Minor `pytest` usage updates (e.g. use parameterizations, `pytest.raises`, and
        `pytest.warns`)
      - Use `np.array_equal` instead of `np.all(... == ...)`
      6cca25e3