Author: Ronan Lamy <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to