[ 
https://issues.apache.org/jira/browse/KAFKA-8337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kengo Seki reassigned KAFKA-8337:
---------------------------------

    Assignee: Kengo Seki

> Fix tests/setup.cfg to work with pytest 4.x
> -------------------------------------------
>
>                 Key: KAFKA-8337
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8337
>             Project: Kafka
>          Issue Type: Bug
>          Components: system tests, unit tests
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Minor
>
> In accordance with tests/README.md, I ran {{`python setup.py test`}} in the 
> {{tests}} directory to execute unit tests for the system tests, but got the 
> following error:
> {code}
> $ python setup.py test
> running test
> (snip)
> Using /home/sekikn/repo/kafka/tests/.eggs/docutils-0.14-py2.7.egg
> Searching for pytest
> Best match: pytest 4.4.1
> Processing pytest-4.4.1-py2.7.egg
> (snip)
> builtins.Failed: [pytest] section in setup.cfg files is no longer supported, 
> change to [tool:pytest] instead.
> {code}
> This is because [\[pytest\] section in setup.cfg has been removed in pytest 
> 4.0|https://docs.pytest.org/en/4.1.0/deprecations.html#pytest-section-in-setup-cfg-files].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to