ķ °ŋv]c@`s´dZddlmZmZmZddlZddlZddlmZda iZ d„Z ej ƒd„ƒZejddd eƒd „ƒZejd eƒd „ƒZdS( s= Pytest configuration and fixtures for the Numpy test suite. i(tdivisiontabsolute_importtprint_functionN(t get_fpu_modecC`s$|jddƒ|jddƒdS(Ntmarkerss=valgrind_error: Tests that are known to error under valgrind.sslow: Tests that are very slow.(taddinivalue_line(tconfig((s^/home/ec2-user/environment/lambda-staging/venv/lib64/python2.7/dist-packages/numpy/conftest.pytpytest_configures  cC`sGtƒ}tdkr|an%|tkrCt|ft|<|andS(sŪ Check FPU precision mode was not changed during test collection. The clumsy way we do it here is mainly necessary because numpy still uses yield tests, which can execute code at test collection time. N(Rt _old_fpu_modetNonet_collect_results(titemtmode((s^/home/ec2-user/environment/lambda-staging/venv/lib64/python2.7/dist-packages/numpy/conftest.pytpytest_itemcollecteds    tscopetfunctiontautousecc`s‡tƒ}dVtƒ}||kr>tdj||ƒƒ‚ntj|jƒ}|dk rƒ|\}}tdj||ƒƒ‚ndS(sC Check FPU precision mode was not changed during the test. Ns@FPU precision mode changed from {0:#x} to {1:#x} during the testsIFPU precision mode changed from {0:#x} to {1:#x} when collecting the test(RtAssertionErrortformatR tgettnodeR (trequesttold_modetnew_modetcollect_result((s^/home/ec2-user/environment/lambda-staging/venv/lib64/python2.7/dist-packages/numpy/conftest.pytcheck_fpu_mode,s       cC`st|ds   !