Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
random_test: fix deprecation warnings for key tests
Some versions of numpy on some platforms raise warnings when custom PRNG keys are passed to np.assert_array_equal. Address this by creating a specific function for comparing key values.
- Loading branch information
Showing
2 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters