Empty test suite. Exit code 1
I upgraded my python plugin to version: 2018.2.182.3684.101
I am using intelliJ enterprise version
Details:
IntelliJ IDEA 2018.2 (Ultimate Edition)
Build #IU-182.3684.101, built on July 24, 2018
Licensed to XXXXXXX
You have a perpetual fallback license for this version
Subscription is active until xxxxxx
JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.11.6
```
Testing started at 10:10 PM ...
/Users/meghana/.virtualenvs/apitest/bin/python "/Users/meghana/Library/Application Support/IntelliJIdea2018.2/python/helpers/pycharm/_jb_pytest_runner.py" --path /Users/meghana/src/apps/server/apitest/tests
Launching pytest with arguments /Users/meghana/src/apps/server/apitest/tests in /Users/meghana/src/apps/server/apitest/tests
Traceback (most recent call last):
File "/Users/meghana/Library/Application Support/IntelliJIdea2018.2/python/helpers/pycharm/_jb_pytest_runner.py", line 31, in <module>
pytest.main(args, plugins_to_load)
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/config.py", line 38, in main
config = _prepareconfig(args, plugins)
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/config.py", line 115, in _prepareconfig
pluginmanager.register(plugin)
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/config.py", line 207, in register
ret = super(PytestPluginManager, self).register(plugin, name)
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 370, in register
hook._maybe_apply_history(hookimpl)
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 747, in _maybe_apply_history
res = self._hookexec(self, [method], kwargs)
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 338, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 333, in <lambda>
_MultiCall(methods, kwargs, hook.spec_opts).execute()
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py", line 596, in execute
res = hook_impl.function(*args)
File "/Users/meghana/Library/Application Support/IntelliJIdea2018.2/python/helpers/pycharm/teamcity/pytest_plugin.py", line 58, in pytest_addoption
type="bool")
File "/Users/meghana/.virtualenvs/apitest/lib/python2.7/site-packages/_pytest/config.py", line 510, in addini
assert type in (None, "pathlist", "args", "linelist")
AssertionError
Process finished with exit code 1
Empty test suite.
```
Please sign in to leave a comment.
Hello! Thank you for the report.
Please follow https://youtrack.jetbrains.com/issue/PY-31164 for updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.
I am having the same problem with the same version since the recent update. Is there a way to go back to the old version ? Also, the link to the issue does not work. Here is the link to the issue : https://youtrack.jetbrains.com/issue/PY-31164
Hello.
Please upgrade pytest to 2.9+
In my current project setup, I must use pytest 2.7. Is there any other alternative?
There is no workaround now, please track and vote for https://youtrack.jetbrains.com/issue/PY-31164