JetBrains / teamcity-messages

Python Unit Test Reporting to TeamCity
https://pypi.python.org/pypi/teamcity-messages
Apache License 2.0
137 stars 81 forks source link

Pytest 2.8 support is broken #184

Closed throwable-one closed 6 years ago

throwable-one commented 6 years ago

a814c32ce6b603267717894344d522d1672797a1 added following line

    parser.addini("skippassedoutput", help="skip output of passed tests for JetBrains TeamCity service messages",
                  type="bool")

while argparsing.py#addini does not support it in 2.8

        assert type in (None, "pathlist", "args", "linelist")

2.9 works as expected. Not sure we need to support 2+ years old pytest, but there are some issues: https://youtrack.jetbrains.com/issue/PY-31164 Can we check version before adding this arg?