[pypy-commit] pypy py3tests: Appdirect tests still need to collect directories

rlamy pypy.commits at gmail.com
Fri Mar 23 09:01:09 EDT 2018


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3tests
Changeset: r94116:6af4a6061177
Date: 2018-03-23 13:58 +0100
http://bitbucket.org/pypy/pypy/changeset/6af4a6061177/

Log:	Appdirect tests still need to collect directories

diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -203,6 +203,7 @@
 
 
 def pytest_ignore_collect(path, config):
-    if config.getoption('runappdirect') and not path.fnmatch(APPLEVEL_FN):
+    if (config.getoption('runappdirect') and
+            not path.isdir() and not path.fnmatch(APPLEVEL_FN)):
         return True
     return path.check(link=1)


More information about the pypy-commit mailing list