ó 2ÄÈ[c@`sŽdZddlmZmZmZddlZddlmZddl m Z ddl m Z de fd„ƒYZd e fd „ƒYZdS( s'Test deprecation and future warnings. i(tdivisiontabsolute_importtprint_functionN(t assert_warns(t assert_equal(tMaskedArrayFutureWarningt TestArgsortcB`s2eZdZd„Zd„Zd„Zd„ZRS(s gh-8701 cC`sÏtjdƒj|ƒ}||ƒtjdddgƒj|ƒ}||ƒtjddgddggƒj|ƒ}ttjjj||ƒ}t|||ddƒƒ||ddƒ||ddƒdS(Niiiitaxisiÿÿÿÿ( tnptarraytviewRtmatcoreRRtNone(tselftargsorttclstarr_0dtarr_1dtarr_2dtresult((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyt _test_base s ! *cC`s|jtjjtjƒS(N(RRR Rtndarray(R((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyttest_function_ndarrayscC`s|jtjjtjjƒS(N(RRR Rt MaskedArray(R((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyttest_function_maskedarray!scC`s|jtjjjtjjƒS(N(RRR RR(R((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyt test_method$s(t__name__t __module__t__doc__RRRR(((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyR s    tTestMinimumMaximumcB`s#eZd„Zd„Zd„ZRS(cC`s,tttjjtjjddgƒƒdS(Nii(RtDeprecationWarningRR tminimumR (R((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyt test_minimum)scC`s,tttjjtjjddgƒƒdS(Nii(RRRR tmaximumR (R((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyt test_maximum,scC`stjjdƒ}|jddƒ}tjjj}tjjj}tt||ƒ}t |||ddƒƒtt||ƒ}t |||ddƒƒ||ƒ}t |||ddƒƒt |||ddƒƒ||ƒ}t |||ddƒƒt |||ddƒƒdS(NiiiRi( RR tarangetreshapeR treduceR"RRRR (Rtdata1dtdata2dtma_mintma_maxR((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyttest_axis_default/s  (RRR!R#R+(((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyR(s  (Rt __future__RRRtnumpyRt numpy.testingRtnumpy.ma.testutilsRt numpy.ma.coreRtobjectRR(((s?/tmp/pip-build-fiC0ax/numpy/numpy/ma/tests/test_deprecations.pyts