I tried to use the norecursedirs option inside setup.cfg to tell py.test not to collect tests from certain directories but it seems it does ignore it.
[tool:pyte
You can use
py.test -k 'not third'
that excludes all 'third' directory contents.