alfredodeza / pytest.vim

Runs your UnitTests with py.test displaying red/green bars and errors
274 stars 40 forks source link

Failing to parse when warnings are all over #59

Closed alfredodeza closed 4 years ago

alfredodeza commented 6 years ago

Example failure:

============================= test session starts ==============================
platform darwin -- Python 2.7.11, pytest-3.3.0, py-1.5.2, pluggy-0.6.0
rootdir: /Users/alfredo/python/upstream/ceph-deploy, inifile: setup.cfg
collected 37 items

parser/test_osd.py ..                                                    [100%]

=============================== warnings summary ===============================
None
  [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.

ceph_deploy/tests
  pytest_funcarg__cli: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0.  Please remove the prefix and use the @pytest.fixture decorator instead.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
============================= 35 tests deselected ==============================
============= 2 passed, 35 deselected, 2 warnings in 0.10 seconds ==============

Mesage is as expected:

Unable to parse output. If using a plugin that alters the default output, consider disabling it. See :Pytest session
alfredodeza commented 4 years ago

I don't think this is a problem anymore. Can't replicate with warnings