Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: remove uses of np.testing.rand #5663

Merged
merged 2 commits into from
Jan 4, 2016
Merged

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Jan 3, 2016

a follow-up to #5661.

Having np.testing.rand likely made sense in 2002 (was it scipy_core.testing.rand then?), but not so much now that we rely on numpy.random almost everywhere.

These have not been reported as causing immediate trouble, so these probably can be just treated as a regular maintenance, unlike gh-5661 which is a backport material.

This is actually a vily alias for stdlib random. Use np.random instead.
@ev-br ev-br added the maintenance Items related to regular maintenance tasks label Jan 3, 2016
@codecov-io
Copy link

@@            master   #5663   diff @@
======================================
  Files          234     234       
  Stmts        43267   43267       
  Branches      8178    8178       
  Methods          0       0       
======================================
  Hit          33520   33520       
  Partial       2618    2618       
  Missed        7129    7129       

Review entire Coverage Diff as of e7d7533

Powered by Codecov. Updated on successful CI builds.

@rgommers rgommers added this to the 0.18.0 milestone Jan 4, 2016
rgommers added a commit that referenced this pull request Jan 4, 2016
MAINT: remove uses of np.testing.rand
@rgommers rgommers merged commit 59cd790 into scipy:master Jan 4, 2016
@rgommers
Copy link
Member

rgommers commented Jan 4, 2016

Thanks Evgeni, merged.

@rgommers
Copy link
Member

rgommers commented Jan 4, 2016

And agreed that this doesn't need a backport.

@ev-br ev-br deleted the np_testing_rand branch January 4, 2016 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants