[pypy-commit] pypy py3tests: apptest_ files do need to be collected when running without -A
rlamy
pypy.commits at gmail.com
Mon Apr 16 22:48:36 EDT 2018
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3tests
Changeset: r94357:88f2cbae0c90
Date: 2018-04-17 03:45 +0100
http://bitbucket.org/pypy/pypy/changeset/88f2cbae0c90/
Log: apptest_ files do need to be collected when running without -A
diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -48,7 +48,7 @@
def py3k_skip(message):
py.test.skip('[py3k] %s' % message)
py.test.py3k_skip = py3k_skip
- if HOST_IS_PY3:
+ if HOST_IS_PY3 or not config.getoption('runappdirect'):
config.addinivalue_line('python_files', APPLEVEL_FN)
def pytest_addoption(parser):
More information about the pypy-commit
mailing list