def METHOD_NAME(self):
    # Regression test for gh-14522.  Ensure that future versions
    # generate the same variates as version 1.16.
    np.random.seed(8675309)
    expected = np.array([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
                         [3, 4, 2, 3, 3, 1, 5, 3, 1, 3]])
    assert_array_equal(random.binomial([[0], [10]], 0.25, size=(2, 10)),
                       expected)