We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ docker-compose -f docker-compose.yml up Recreating pctest1 ... done Attaching to pctest1 pctest1 | ============================= test session starts ============================== pctest1 | platform linux2 -- Python 2.7.17, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 pctest1 | rootdir: /opt/por/share/p1at/src/p1at/test_mods/sec7, inifile: pctest1 | plugins: interactive-0.1.4 pctest1 | collected 1 item pctest1 | INTERNALERROR> Traceback (most recent call last): pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 105, in wrap_session pctest1 | INTERNALERROR> session.exitstatus = doit(config, session) or 0 pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 142, in _main pctest1 | INTERNALERROR> config.hook.pytest_collection(session=session) pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 617, in __call__ pctest1 | INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 222, in _hookexec pctest1 | INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 216, in <lambda> pctest1 | INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'), pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 201, in _multicall pctest1 | INTERNALERROR> return outcome.get_result() pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 77, in get_result pctest1 | INTERNALERROR> _reraise(*ex) # noqa pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 180, in _multicall pctest1 | INTERNALERROR> res = hook_impl.function(*args) pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 152, in pytest_collection pctest1 | INTERNALERROR> return session.perform_collect() pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 685, in perform_collect pctest1 | INTERNALERROR> config=self.config, items=items) pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 617, in __call__ pctest1 | INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 222, in _hookexec pctest1 | INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 216, in <lambda> pctest1 | INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'), pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 201, in _multicall pctest1 | INTERNALERROR> return outcome.get_result() pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 77, in get_result pctest1 | INTERNALERROR> _reraise(*ex) # noqa pctest1 | INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 180, in _multicall pctest1 | INTERNALERROR> res = hook_impl.function(*args) pctest1 | INTERNALERROR> File "/usr/local/lib/python2.7/dist-packages/interactive/plugin.py", line 28, in pytest_collection_modifyitems pctest1 | INTERNALERROR> capman.suspendcapture(in_=True) pctest1 | INTERNALERROR> AttributeError: CaptureManager instance has no attribute 'suspendcapture' pctest1 | pctest1 | ========================= no tests ran in 0.86 seconds ========================= pctest1 exited with code 3
(yes some are EoL but our production is about to migrate to newer distro and Py3 :/)
Part of my docker-compose.yml
docker-compose.yml
command: /bin/bash -c "pytest --interactive -s /test.py"
The text was updated successfully, but these errors were encountered:
you are using an older version of the package, installing from git fixes this.
pip uninstall pytest-interactive pip install git+https://github.com/goodboy/pytest-interactive
Sorry, something went wrong.
No branches or pull requests
Issue
Environment
(yes some are EoL but our production is about to migrate to newer distro and Py3 :/)
Part of my
docker-compose.yml
The text was updated successfully, but these errors were encountered: