B e]|@sddlmZddlZddlmZejdddgddd Zejdd gdd d Zejdd dgdddZejddddgdddZ ejddZ ejddZ ddZ ddZ dS))unicode_literalsN) defaultdict )paramscCs|jS)N)param)requestr 7/tmp/pip-install-b8evvk6i/thinc/thinc/tests/conftest.pynBsr cCs|jS)N)r)r r r r nI srcCs|jS)N)r)r r r r nHsrcCs|jS)N)r)r r r r nOsrc Csdddddddddddddg S) Nrrrr2r rr r r r r idssrcCs0tt}x"t|D]\}}|||qW|S)N)rlist enumerateappend)r positionsiid_r r r r!s rcCs|jdddddS)Nz--slow store_truezinclude slow tests)actionhelp)Z addoption)parserr r r pytest_addoption3sr!csBfdd}x0dD](}|jkr|d|std|qWdS)Ncsjd|dS)Nz--%sF)configZ getoption)opt)itemr r getopt8sz$pytest_runtest_setup..getopt)Zslowz--%szneed --%s option to run)keywordspytestskip)r$r%r#r )r$r pytest_runtest_setup7s r)) __future__rr' collectionsrZfixturer rrrrrr!r)r r r r s