pypy/tool/pytest/test/test_conftest1.py::TestPyPyTests::()::test_selection_by_keyword_app
self = <pypy.tool.pytest.test.test_conftest1.TestPyPyTests instance at 0xf4ef994c>
testdir = <Testdir local('/build_dir/tmp/pytest/pytest-of-buildslave/pytest-826/test_selection_by_keyword_app0')>
def test_selection_by_keyword_app(self, testdir):
> sorter = testdir.inline_run("-m", "applevel", innertest)
/build_dir/own-linux-x86-32/build/pypy/tool/pytest/test/test_conftest1.py:17:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/build_dir/own-linux-x86-32/build/_pytest/pytester.py:852: in inline_run
ret = pytest.main(list(args), plugins=plugins)
/build_dir/own-linux-x86-32/build/_pytest/config/__init__.py:58: in main
config = _prepareconfig(args, plugins)
/build_dir/own-linux-x86-32/build/_pytest/config/__init__.py:196: in _prepareconfig
pluginmanager=pluginmanager, args=args
/build_dir/own-linux-x86-32/build/_pytest/vendored_packages/pluggy/hooks.py:289: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/build_dir/own-linux-x86-32/build/_pytest/vendored_packages/pluggy/manager.py:68: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/build_dir/own-linux-x86-32/build/_pytest/vendored_packages/pluggy/manager.py:62: in <lambda>
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
/build_dir/own-linux-x86-32/build/_pytest/helpconfig.py:93: in pytest_cmdline_parse
config = outcome.get_result()
/build_dir/own-linux-x86-32/build/_pytest/config/__init__.py:675: in pytest_cmdline_parse
self.parse(args)
/build_dir/own-linux-x86-32/build/_pytest/config/__init__.py:855: in parse
self._preparse(args, addopts=addopts)
/build_dir/own-linux-x86-32/build/_pytest/config/__init__.py:804: in _preparse
self._consider_importhook(args)
/build_dir/own-linux-x86-32/build/_pytest/config/__init__.py:752: in _consider_importhook
a.startswith("--assert=") or a == "--assert" for a in args
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.0 = <listiterator object at 0xf4e77c2c>
> a.startswith("--assert=") or a == "--assert" for a in args
)
E AttributeError: 'LocalPath' object has no attribute 'startswith'
/build_dir/own-linux-x86-32/build/_pytest/config/__init__.py:752: AttributeError
builder: own-linux-x86-32 build #9378+
test: pypy/tool/pytest/test/test_conftest1.py::TestPyPyTests::()::test_selection_by_keyword_app