<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random/tests, branch dependabot/pip/gitpython-3.1.14</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>Port error to RandomState</title>
<updated>2021-02-26T23:44:50+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.sheppard@gmail.com</email>
</author>
<published>2021-02-26T23:06:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b1015adfdbce55b7ee9211baca2f51284d67694a'/>
<id>b1015adfdbce55b7ee9211baca2f51284d67694a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Improve error message in multinomial</title>
<updated>2021-02-26T22:41:03+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2020-07-02T17:41:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9e068f4032dab58cf310cfb663fa4930371cecf3'/>
<id>9e068f4032dab58cf310cfb663fa4930371cecf3</id>
<content type='text'>
Improve error message when the sum of pvals is larger than 1
when the input data is an ndarray

closes #8317
xref #16732
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Improve error message when the sum of pvals is larger than 1
when the input data is an ndarray

closes #8317
xref #16732
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Prevent RandomState from changing</title>
<updated>2021-02-26T14:50:28+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2021-02-26T13:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=79c30300390c267bacb5297f36c1e9605bca8f2c'/>
<id>79c30300390c267bacb5297f36c1e9605bca8f2c</id>
<content type='text'>
Apply vonmises fix only to Generator
Add tests for correctness

closes #17378
closes #17275
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apply vonmises fix only to Generator
Add tests for correctness

closes #17378
closes #17275
</pre>
</div>
</content>
</entry>
<entry>
<title>Added test for [-np.pi, np.pi] range for the von mises distribution using large values of kappa (&gt;1e6)</title>
<updated>2021-02-26T11:35:54+00:00</updated>
<author>
<name>Raúl Montón Pinillos</name>
<email>raul_m_p@me.com</email>
</author>
<published>2020-10-09T02:09:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=5fa800a32341f24ecc178eb754dc91c9b5d0db2c'/>
<id>5fa800a32341f24ecc178eb754dc91c9b5d0db2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add test for shuffle warning and assert stacklevel</title>
<updated>2021-02-19T17:10:48+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-02-19T17:10:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dfdff63cd6c53f1fd1d1c4a9754332887b746e7e'/>
<id>dfdff63cd6c53f1fd1d1c4a9754332887b746e7e</id>
<content type='text'>
The test checks that the warning originates in the correct file
(test_random.py). I am not quite sure how safe the test is, though.

Unfortunately, there is no "obvious" way to test stacklevels.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test checks that the warning originates in the correct file
(test_random.py). I am not quite sure how safe the test is, though.

Unfortunately, there is no "obvious" way to test stacklevels.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Remove check in shuffle for non-ndarrays</title>
<updated>2021-02-11T08:35:37+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2021-02-11T08:24:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=5345da834d8b09356f26494b39b7b93f945733fd'/>
<id>5345da834d8b09356f26494b39b7b93f945733fd</id>
<content type='text'>
Remove ndim for non-ndarrays and check axis is 0

closes #18142
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove ndim for non-ndarrays and check axis is 0

closes #18142
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: gracefully shuffle memoryviews</title>
<updated>2021-02-01T16:01:17+00:00</updated>
<author>
<name>Tyler Reddy</name>
<email>tyler.je.reddy@gmail.com</email>
</author>
<published>2021-02-01T16:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=044550d603b0d7bbe201d703354dd4857bb3606d'/>
<id>044550d603b0d7bbe201d703354dd4857bb3606d</id>
<content type='text'>
* allow graceful shuffling of memoryviews, with
same behavior as arrays, instead of producing
a warning on `memoryview` shuffle
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* allow graceful shuffling of memoryviews, with
same behavior as arrays, instead of producing
a warning on `memoryview` shuffle
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: shuffling empty array with axis=1 was broken</title>
<updated>2021-01-23T16:01:57+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2021-01-23T13:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=768acb7cf856bb49d4d183f8e9cbd456ecc32475'/>
<id>768acb7cf856bb49d4d183f8e9cbd456ecc32475</id>
<content type='text'>
This would trigger:
```
NotImplementedError: Axis argument is only supported on ndarray objects
```
because empty arrays and array scalars would take the "untyped" path.

The bug exists only for Generator, not in RandomState (it doesn't have
axis keyword for `shuffle`), but update both because it keeps
implementations in sync and the change results in more understandable
code also for RandomState.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This would trigger:
```
NotImplementedError: Axis argument is only supported on ndarray objects
```
because empty arrays and array scalars would take the "untyped" path.

The bug exists only for Generator, not in RandomState (it doesn't have
axis keyword for `shuffle`), but update both because it keeps
implementations in sync and the change results in more understandable
code also for RandomState.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert changes to mtrand</title>
<updated>2020-12-11T15:30:50+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.sheppard@gmail.com</email>
</author>
<published>2020-12-05T21:58:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a3bb19df580454a6b98c34e29a00c271c2e411af'/>
<id>a3bb19df580454a6b98c34e29a00c271c2e411af</id>
<content type='text'>
This doesn't qualify for fixing under the NEP.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This doesn't qualify for fixing under the NEP.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Enforce high &gt;= low on uniform number generators</title>
<updated>2020-12-11T15:27:13+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.sheppard@gmail.com</email>
</author>
<published>2020-12-04T23:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=52ecd5a97ce3ff4dad72935b8bf67ba2cfb6908e'/>
<id>52ecd5a97ce3ff4dad72935b8bf67ba2cfb6908e</id>
<content type='text'>
Check that high is weakly larger than low and raise if now

closes #17905
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check that high is weakly larger than low and raise if now

closes #17905
</pre>
</div>
</content>
</entry>
</feed>
