MCPcopy Create free account
hub / github.com/numpy/numpy / test_ragged_shuffle

Function test_ragged_shuffle

numpy/random/tests/test_generator_mt19937.py:2690–2695  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2688
2689
2690def test_ragged_shuffle():
2691 # GH 18142
2692 seq = [[], [], 1]
2693 gen = Generator(MT19937(0))
2694 assert_no_warnings(gen.shuffle, seq)
2695 assert seq == [1, [], []]
2696
2697
2698@pytest.mark.parametrize("high", [-2, [-2]])

Callers

nothing calls this directly

Calls 1

assert_no_warningsFunction · 0.90

Tested by

no test coverage detected