Would collection hooks help you here? Eg: skip/filter files that aren't
part of matplotlib.

pytest.org/latest/writing_plugins.html#collection-hooks


Thanks,
-- Ionel Cristian Mărieș, http://blog.ionelmc.ro

On Fri, Jan 8, 2016 at 3:19 PM, Jason King <[email protected]> wrote:

>
> I'll give testpaths a go and see what happens.
>> _______________________________________________
>>
>
> turns out I'd specified 'testpaths = tests' already in tox.ini
>
> one thing I didn't make clear, running pytest.main() with the arguments I
> listed
> earlier means that Its looking at the matplotlib install location, (ie in
> the site-packages dir,
> inside the venv, next to where numpy is installed. (not where the files
> were unpacked from)
>
> _______________________________________________
> pytest-dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/pytest-dev
>
_______________________________________________
pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to