File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -210,22 +210,6 @@ def testTruncatedNormal(self, dtype):
210
210
for samples in [uncompiled_samples , compiled_samples ]:
211
211
self ._CheckKolmogorovSmirnovCDF (samples , scipy .stats .truncnorm (- 0.3 , 0.3 ).cdf )
212
212
213
- @jtu .sample_product (dtype = jtu .dtypes .floating + jtu .dtypes .integer )
214
- def testShuffle (self , dtype ):
215
- key = lambda : self .make_key (0 )
216
- x = np .arange (100 ).astype (dtype )
217
- rand = lambda key : random .shuffle (key , x )
218
- crand = jax .jit (rand )
219
-
220
- with self .assertWarns ((DeprecationWarning , FutureWarning )):
221
- perm1 = rand (key ())
222
- with self .assertWarns ((DeprecationWarning , FutureWarning )):
223
- perm2 = crand (key ())
224
-
225
- self .assertAllClose (perm1 , perm2 )
226
- self .assertFalse (np .all (perm1 == x )) # seems unlikely!
227
- self .assertAllClose (np .sort (perm1 ), x , check_dtypes = False )
228
-
229
213
@jtu .sample_product (
230
214
[dict (shape = shape , replace = replace , axis = axis ,
231
215
input_range_or_shape = input_range_or_shape )
You can’t perform that action at this time.
0 commit comments