<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random/tests/test_randomstate.py, branch v1.22.4</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>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>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>TST: Make test suite work in FIPS (140-2) Mode</title>
<updated>2020-10-29T07:42:35+00:00</updated>
<author>
<name>Nikola Forró</name>
<email>nforro@redhat.com</email>
</author>
<published>2020-10-26T17:54:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=14c6e451edcf65d412443c7fb045ab706daf3b73'/>
<id>14c6e451edcf65d412443c7fb045ab706daf3b73</id>
<content type='text'>
Tests using MD5 algorithms fail in FIPS Mode because MD5 is not FIPS
compliant.

Replace MD5 with SHA256 to overcome that.

Signed-off-by: Nikola Forró &lt;nforro@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests using MD5 algorithms fail in FIPS Mode because MD5 is not FIPS
compliant.

Replace MD5 with SHA256 to overcome that.

Signed-off-by: Nikola Forró &lt;nforro@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Validate output size in bin- and multinomial</title>
<updated>2020-07-14T17:41:33+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2020-07-14T16:55:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=89ecc557fc9205e06c9816ce2122f42e3adced02'/>
<id>89ecc557fc9205e06c9816ce2122f42e3adced02</id>
<content type='text'>
Check that size is not being broadcast

closes #16833
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check that size is not being broadcast

closes #16833
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: random: Skip a test if integers are 32 bit.</title>
<updated>2020-04-27T17:48:04+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2020-04-27T17:48:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=621efc7718d3676c390bd673c0f8b53bcb4fc308'/>
<id>621efc7718d3676c390bd673c0f8b53bcb4fc308</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: random: Add more repeatability tests for random integers.</title>
<updated>2020-04-27T17:06:05+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2020-04-27T17:06:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ca5ade84d02801401d4833eec9d8a50ef04e46ce'/>
<id>ca5ade84d02801401d4833eec9d8a50ef04e46ce</id>
<content type='text'>
Add repeatability tests for when the range of the integers is `2**32`
(and `2**32 +/- 1` for good measure) with broadcasting.  The underlying
functions called by Generator.integers and random.randint when the
inputs are broadcast are different than when the inputs are scalars.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add repeatability tests for when the range of the integers is `2**32`
(and `2**32 +/- 1` for good measure) with broadcasting.  The underlying
functions called by Generator.integers and random.randint when the
inputs are broadcast are different than when the inputs are scalars.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove implicit inheritance from object class (#15236)</title>
<updated>2020-01-05T05:53:30+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-01-05T05:53:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c31cc36a8a814ed4844a2a553454185601914a5a'/>
<id>c31cc36a8a814ed4844a2a553454185601914a5a</id>
<content type='text'>
Inheriting from object was necessary for Python 2 compatibility to use
new-style classes. In Python 3, this is unnecessary as there are no
old-style classes.

Dropping the object is more idiomatic Python.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Inheriting from object was necessary for Python 2 compatibility to use
new-style classes. In Python 3, this is unnecessary as there are no
old-style classes.

Dropping the object is more idiomatic Python.</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove uses of scalar aliases</title>
<updated>2019-11-13T21:45:50+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-11-11T23:05:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6dfe3318400972f414b02e3e12c83c52372f1e00'/>
<id>6dfe3318400972f414b02e3e12c83c52372f1e00</id>
<content type='text'>
Relates to gh-6103
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Relates to gh-6103
</pre>
</div>
</content>
</entry>
<entry>
<title>API: make BitGenerators private</title>
<updated>2019-10-11T12:08:46+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-09-29T13:44:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7e597f54d07a05be9875bb1574de52250a12d179'/>
<id>7e597f54d07a05be9875bb1574de52250a12d179</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
