9Zc@`sBddlmZmZmZddlZddlmZmZm Z m Z m Z m Z ddlm Z ddlmZddlZddlZdefdYZdefd YZd efd YZd efd YZdefdYZdefdYZdefdYZedkr>endS(i(tdivisiontabsolute_importtprint_functionN(tTestCasetrun_module_suitetassert_t assert_raisest assert_equalt assert_warns(trandom(tasbytestTestSeedcB`s,eZdZdZdZdZRS(cC`sTtjjd}t|jddtjjd}t|jdddS(NiiiIi(tnpR t RandomStateRtrandint(tselfts((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_scalarscC`stjjtd}t|jddtjjtjd}t|jddtjjdg}t|jddtjjdg}t|jdddS(Ni iiiiIi (R R R trangeRRtarange(RR((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_arrayscC`s0tttjjdtttjjddS(Ngi(Rt TypeErrorR R R t ValueError(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_invalid_scalarscC`stttjjdgtttjjdgtttjjdgtttjjdddgtttjjdddgdS(NgiIiii(RRR R R R(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_invalid_array$s (t__name__t __module__RRRR(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR s  t TestBinomialcB`seZdZdZRS(cC`sntjddd}xRdddgD]A}ttjd|dktjjtj|||q%WdS(Nitdtypetintig?i(R tzerosRR tbinomialttestingtassert_array_equal(RRtp((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_n_zero.scC`stttjdtjdS(Ni(RRR RR tnan(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_p_is_nan7s(RRR#R%(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR-s tTestMultinomialcB`s,eZdZdZdZdZRS(cC`stjdddgdS(Nidg?g?(R t multinomial(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_basic=scC`s#tjddddddgdS(Nidg?g?g(R R'(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_zero_probability@scC`swtdtjddko&dkntjddd}ttjd|kttj|dkdS(Niii(RR RR tall(Rtx((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_int_negative_intervalCs,cC`s+ddg}ttjjd|tjdjdttjjd|tjdjdttjjd|tjdjdttjjd|ddgjdttjjd|djd ttjjd|tjd jd tttjjd|tj ddS( Ng?ii(ii(ii(ii(iii(ii(iii(ii(iii( RR R R'tuint32tshapetarrayRRtfloat(RR"((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_sizeIs +++("$(RRR(R)R,R1(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR&<s   t TestSetStatecB`s>eZdZdZdZdZdZdZRS(cC`s4d|_tj|j|_|jj|_dS(NiI(tseedR R tprngt get_statetstate(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pytsetUpYs cC`sT|jjd}|jj|j|jjd}ttj||kdS(Ni(R4ttomaxintt set_stateR6RR R*(Rtoldtnew((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR(^scC`sZ|jjdd}|jj|j|jjdd}ttj||kdS(Ntsizei(R4tstandard_normalR9R6RR R*(RR:R;((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_gaussian_resetdscC`ss|jj|jj}|jjdd}|jj||jjdd}ttj||kdS(NR<i(R4R=R5R9RR R*(RR6R:R;((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_gaussian_reset_in_media_resks  cC`s|jd }|jjdd}|jj||jjdd}|jj|j|jjdd}ttj||kttj||kdS(NiR<i(R6R4R=R9RR R*(Rt old_statetx1tx2tx3((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_backwards_compatibilityvs cC`s|jjdddS(Ng?(R4tnegative_binomial(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_negative_binomials(RRR7R(R>R?RDRF(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR2Xs     t TestRandintc B`seZejjZejejejej ej ej ej ej ejg ZdZdZdZdZdZdZRS(cC`s tt|jddtjdS(NiR(RRtrfuncR R0(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_unsupported_typescC`sx|jD]}|tjkr%dntj|j}|tjkrLdntj|jd}tt|j|d|d|tt|j||dd|tt|j||d|tt|jddd|q WdS(NiiiR( titypeR tbool_tiinfotmintmaxRRRH(Rtdttlbndtubnd((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_bounds_checkings'+  c C`sx|jD]}|tjkr%dntj|j}|tjkrLdntj|jd}|d}t|j||dddd|||}t|j||dddd||||d}t|j||dddd||q WdS(NiiiR<iR(RJR RKRLRMRNRRH(RRORPRQttgt((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_rng_zero_and_extremess'+ ))c C`stjjxy|jdD]j}xadddgD]P}|jd|dd d|}t|j|kt|jdkq1WqW|jdddd dtj}t|jdkt|jdkdS( NiiiiiR<Riii( R R R3RJRHRRNRMtbool(RRORQtvals((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_in_bounds_fuzzs !cC`sddl}i dd6dd6dd6dd 6d d 6dd 6dd 6dd6d d6}x|jdD]}tjjdtjdkr|jddddd|}n$|jddddd|j}|j |j tj j }t |tj|j|kq_Wtjjd|jdddddtjj tj }|j |j }t |tjtjj|kdS(Nit 7dd3170d7aa461d201a65f8bcf3944b0RUt 1b7741b80964bb190c50d541dca1cac1tint16t 4dc9fcc2b395577ebb51793e58ed1a05tint32t 17db902806f448331b5a758d7d2ee672tint64t 27dd30c4e08a797063dffac2490b0be6tint8tuint16R-tuint64tuint8iitlittleiR<iRi(thashlibRJR R R3tsyst byteorderRHtbyteswaptmd5tviewR`t hexdigestRRtnameRU(RReRSROtvaltres((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_repeatabilitys*   !$!$-cC`sWx|jD]}|tjkr%dntj|j}|tjkrLdntj|jd}|j||d|}|j|jtj|q Wxtj tj tj fD]}|tj krdntj|j}|tj krdntj|jd}|j||d|}|j t |d|jt||qWdS(NiiiR(RJR RKRLRMRNRHt assertEqualRRURtlongt assertFalsethasattrttype(RRORPRQtsample((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_respect_dtype_singletons'+ '+(RRR R RRHRKR`RcRZRaR\R-R^RbRJRIRRRTRWRoRv(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRGs   !tTestRandomDistcB`s eZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5d4Z6d5Z7d6Z8d7Z9d8Z:RS(9cC`s d|_dS(NiI(R3(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR7scC`sotjj|jtjjdd}tjddgddgddgg}tjj||d d dS( Niig_\*?g?g<p?g,o?gH?gZ?tdecimali(R R R3trandR/R tassert_array_almost_equal(Rtactualtdesired((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_rands  cC`sotjj|jtjjdd}tjddgddgddgg}tjj||d d dS( Niig!scS`s|S(N((R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj|jtjS(N(R tasarraytastypeR`(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj|jtjS(N(R RRtfloat32(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj|jtjS(N(R RRt complex64(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj|jtS(N(R RRR(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`sg|D]}||f^qS(N((R+ti((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`s&tjg|D]}||g^q S(N(R R(R+R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`stj||gjS(N(R tvstacktT(R+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRscS`sDtjg|D]}||f^q dtdfdtjdfgS(NRiR(R RRR\(R+R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRs" iiiiiiiii i(R R R3tshuffleR R!(RtconvtalistR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_shuffles  **cC`stjjtjtddddd}tjjtjdddd}|j}|j}xtdD]}tjj|t t |j |j t |j |j tjj|t t |j |j t |j |j qzWdS( Niiiiiii2(ii( R tmat masked_valuestreshapeRRtcopyR RRtsortedtdatatmask(RRRta_origtb_origR((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_shuffle_maskeds/&  ,cC`sutjj|jtjjdddd}tjddgdd gd d gg}tjj||d d dS(Ng?g?R<iigAKč?ghA?g ҇o>gάXf+q?gS1$?g'8zX ?Rxi(ii(R R R3tbetaR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_betas  cC`sotjj|jtjjdddd }tjddgdd gd d gg}tjj||dS( NgZd;Y@gv/?R<iii%i+i*i0i.i-(ii(R R R3RR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_binomials  cC`srtjj|jtjjddd }tjddgddgd d gg}tjj||d d dS(Ni2R<iig+Q]uO@g+Q@gY7`ZqP@ge(fG@gvtR@gEIȋR@Rxi (ii(R R R3t chisquareR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_chisquares  cC`stjj|jtjddg}tjjj|dd}tjddgdd ggd d gd d ggddgddggg}tjj||dddS(NgI?gc>+Y?g_}S?Rxi(ii(R R R3tfR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_fs  cC`sutjj|jtjjdddd }tjddgddgd d gg}tjj||d d dS(NiiR<igԏGM8@gȌ<@g ":@gv#)@gZQ?@gr[@@Rxi(ii(R R R3tgammaR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_gammas  cC`sltjj|jtjjddd }tjddgddgdd gg}tjj||dS( Ng_c97ݚ?R<iiiiiii (ii(R R R3t geometricR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_geometrics  cC`s{tjj|jtjjdddddd}tjdd gd d gd d gg}tjj||dddS(Ntlocg_c97ݚ?tscaleg@R<iigؕ?gs0?g#0g(xg-KD?gůp`@Rxi(ii(R R R3tgumbelR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_gumbels ! cC`stjj|jtjjddddd}tjddgddgddgg}tjj||tjjd d ddd }tjddddg}tjj||tjjd d d dd }tjd d d d g}tjj||tjjd d ddd }tjd d d d g}tjj||tjjd d d dd }tjd d d d g}tjj||dS(Ng333333$@g@iR<iii i iiiii (ii(R R R3thypergeometricR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_hypergeometrics$ cC`s{tjj|jtjjdddddd}tjdd gd d gd d gg}tjj||dddS(NRg_c97ݚ?Rg@R<iig bO?g¸?gpJm @g{K*t @g:^w-gY~o?Rxi(ii(R R R3tlaplaceR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_laplaces ! cC`s{tjj|jtjjdddddd}tjdd gd d gd d gg}tjj||dddS(NRg_c97ݚ?Rg@R<iig#K-z?gJ?g92@gر[@g#+^˿g-@Rxi(ii(R R R3tlogisticR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_logistic's ! cC`s{tjj|jtjjdddddd}tjdd gd d gd d gg}tjj||dddS(Ntmeang_c97ݚ?tsigmag@R<iigɁ0@go,+4FB@g)ʭ6@g5?gnxNnP@g)U@Rxi (ii(R R R3t lognormalR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_lognormal/s ! cC`sotjj|jtjjdddd}tjddgddgddgg}tjj||dS( NR"gƀ@?R<iiii(ii(R R R3t logseriesR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_logseries7s  c C`stjj|jtjjdd gddd }tjddd dddgd dd dddggddddd dgddddddggdddd ddgddddddggg}tjj||dS(Niig@iR<iiiiiigUUUUUU?(ii(R R R3R'R/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_multinomial?s"!cC`s:tjj|jd}ddgddgg}d}tjj|||}tjddgd dggd dgd dggd dgd dggg}tjj||ddtjj||}tjddg}tjj||ddddg}ddgddgg}tttjj||dS(Ng_c97ݚ?i iiiigO7?g$@gڰgHlUg.fgHX3,gS ?Rxig:kg|=(g_c97ݚ?i (iig8?g8?( R R R3tmultivariate_normalR/R RzRtRuntimeWarning(RRtcovR<R{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_multivariate_normalJs$     cC`sutjj|jtjjdddddd}tjdd gd d gd d gg}tjj||dS(NtnidR"g|Pk?R<iiiPiIi|ici i(ii(R R R3RER/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRFcs ! cC`sVtjj|jtjjdddddd}tjddgd d gd d gg}tjj||d dtjjdddddd}tjddgddgddgg}tjj||d dtjj|jtjjdddddd }tjddgddgddgg}tjj||d ddS(!NtdfitnoncR<iigG7@g!ܴ*@g1}z9?@g+驸0@g26E_r#@gI!1@Rxig?g?g?gTD?g?T?g+qnl?g~|D?g밬?ig{01#@gprs'@g~;$@g"dI @g*@g }',@(ii(ii(ii(R R R3tnoncentral_chisquareR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_noncentral_chisquareks"! ! ! c C`stjj|jtjjdddddddd}tjd d gd d gd dgg}tjj||dddS(NtdfnumitdfdeniRiR<ig^~?g/+c?g". @g@g7?gE?Rxi(ii(R R R3t noncentral_fR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_noncentral_fs  cC`s{tjj|jtjjdddddd}tjdd gd d gd d gg}tjj||dddS(NRg_c97ݚ?Rg@R<iig&&n@gOG_ @g~w@gtw]տgm&5@g$>@Rxi(ii(R R R3tnormalR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_normals ! cC`sutjj|jtjjdddd}tjddgdd gd d gg}tjj||d d dS(NRg_c97ݚ?R<iigW I@g Ԩy@gy]0Ag1~\Aga@gY 7Atnulpi(ii(R R R3tparetoR/R tassert_array_almost_equal_nulp(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_paretos  cC`sotjj|jtjjdddd}tjddgddgddgg}tjj||dS( Ntlamg_c97ݚ?R<iiii(ii(R R R3tpoissonR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_poissons  cC`stjdj}d}tttjj|tttjj|gdtttjj|tttjj|gddS(NRii (R RLRNRRR R(Rtlambigtlamneg((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_poisson_exceptionss cC`sutjj|jtjjdddd}tjddgdd gd d gg}tjj||d d dS(NRg_c97ݚ?R<iig;'?gܴw*?g5?gFG?gD]?g$`?Rxi(ii(R R R3tpowerR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_powers  cC`sutjj|jtjjdddd}tjddgdd gd d gg}tjj||d d dS(NRi R<iig"u+@gN$MB*@g7v8B4@g55@ge&@g~ӣZ1@Rxi(ii(R R R3trayleighR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_rayleighs  cC`sotjj|jtjjdd }tjddgddgdd gg}tjj||d d dS( NR<iigMoDL?g6([9grF=?gM' -gVgVA:Qy?Rxi(ii(R R R3tstandard_cauchyR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_standard_cauchys  cC`sotjj|jtjjdd }tjddgddgdd gg}tjj||d d dS( NR<iig܁?gc!z?g&N"@gNI@gF>?g~ME?Rxi(ii(R R R3tstandard_exponentialR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_standard_exponentials  cC`sutjj|jtjjdddd }tjddgddgd d gg}tjj||d d dS(NR.iR<ig)@gľ@gd],q@gPk{@g9B #1@gv @Rxi(ii(R R R3tstandard_gammaR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_standard_gammas  cC`sotjj|jtjjdd }tjddgddgdd gg}tjj||d d dS( NR<iig!#H@gu@g#@g}d]#@gN@gw )* @Rxi(ii(R R R3tuniformR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_uniforms ! cC`stjdj}tjdj}tjj}tjjt|tj dtjjt|dtj tjjt|||tjjd|d|ddS(NR0iR R g؅W4vC( R tfinfoRMRNR R R Rt OverflowErrortinf(Rtfmintfmaxtfunc((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_uniform_range_boundss cC`s{tjj|jtjjdddddd}tjdd gd d gd d gg}tjj||dddS(NtmugGz?tkappagp= ף?R<iigLZI@g'N"@gkr?gk=m@gډ?g^=\?Rxi(ii(R R R3tvonmisesR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_vonmisess ! cC`sWtjj|jtjjdddddd}tjjtj|jdS( NRgRg g5_PG>R<i ii@B(R R R3RR RtisfiniteR*(Rtr((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyttest_vonmises_small s!cC`s{tjj|jtjjdddddd}tjdd gd d gd d gg}tjj||dddS(NRgGz?Rgp= ף?R<iigZ@g- g@g8 m?gVP"?g`V?gx^&3?Rxi(ii(R R R3twaldR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_walds ! cC`sutjj|jtjjdddd}tjddgdd gd d gg}tjj||d d dS(NRgGz?R<iig@6?g]A?g(1ڥR?gU?g2_u?g^}-Q?Rxi(ii(R R R3tweibullR/R Rz(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_weibulls  cC`sotjj|jtjjdddd }tjddgddgdd gg}tjj||dS( NRgGz?R<iiiBiii (ii(R R R3tzipfR/R R!(RR{R|((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyt test_zipf#s  (;RRR7R}RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRFRRRRRRRRRRRRRR R RRRRRR!(((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyRwsr              $                                  t TestThreadcB`s5eZdZdZdZdZdZRS(cC`std|_dS(Ni(Rtseeds(R((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pyR7.sc C`sdddlm}tjt|jf|}tjt|jf|}gt|j|D]3\}}|d|dtjj||f^qa}g|D]} | j ^qg|D]} | j ^qx9t|j|D]%\}}|tjj||qWtj j j dkrMtjdkrMtjj||ntjj||dS(Ni(tThreadttargettargsitwin32(t threadingR$R RtlenR#tzipR R tstarttjointintpRtitemsizeRftplatformR RzR!( RtfunctiontszR$tout1tout2RtottR+((sQ/opt/alt/python27/lib64/python2.7/site-packages/numpy/random/tests/test_random.pytcheck_function1sI'cC`s d}|j|dddS(NcS`s|jdd|ds" .  0_G+