Skip to content

Commit

Permalink
MAINT: fix for dtype specification
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed May 27, 2019
1 parent 9c261e6 commit 70d6293
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions numpy/random/tests/test_generator_mt19937.py
Expand Up @@ -700,8 +700,8 @@ def test_shuffle(self):
.view(np.recarray)),
# gh-4270
lambda x: np.asarray([(i, i) for i in x],
[("a", object, 1),
("b", np.int32, 1)])]:
[("a", object, (1,)),
("b", np.int32, (1,))])]:
random.bit_generator.seed(self.seed)
alist = conv([1, 2, 3, 4, 5, 6, 7, 8, 9, 0])
random.shuffle(alist)
Expand Down
4 changes: 2 additions & 2 deletions numpy/random/tests/test_randomstate.py
Expand Up @@ -633,8 +633,8 @@ def test_shuffle(self):
.view(np.recarray)),
# gh-4270
lambda x: np.asarray([(i, i) for i in x],
[("a", object, 1),
("b", np.int32, 1)])]:
[("a", object, (1,)),
("b", np.int32, (1,))])]:
random.seed(self.seed)
alist = conv([1, 2, 3, 4, 5, 6, 7, 8, 9, 0])
random.shuffle(alist)
Expand Down

0 comments on commit 70d6293

Please sign in to comment.