MCPcopy Index your code
hub / github.com/numpy/numpy / test_ragged_shuffle

Function test_ragged_shuffle

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

Source from the content-addressed store, hash-verified

2732
2733
2734def test_ragged_shuffle():
2735 # GH 18142
2736 seq = [[], [], 1]
2737 gen = Generator(MT19937(0))
2738 assert_no_warnings(gen.shuffle, seq)
2739 assert seq == [1, [], []]
2740
2741
2742@pytest.mark.parametrize("high", [-2, [-2]])

Callers

nothing calls this directly

Calls 1

assert_no_warningsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…