Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723656 - dev-python/pytest-mock fails tests
Summary: dev-python/pytest-mock fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-05-18 10:14 UTC by Agostino Sarubbo
Modified: 2021-01-05 23:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,25.31 KB, text/plain)
2020-05-18 10:14 UTC, Agostino Sarubbo
Details
build.log (3.3.1, ppc64) (pytest-mock-3.3.1:20201124-224337.log,119.12 KB, text/plain)
2020-11-24 22:49 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-18 10:14:10 UTC
This is an auto-filed bug because dev-python/pytest-mock fails tests.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-18 10:14:19 UTC
Created attachment 640046 [details]
build.log

build log and emerge --info
Comment 2 ernsteiswuerfel 2020-11-24 22:49:14 UTC
Created attachment 674767 [details]
build.log (3.3.1, ppc64)

3.3.1 fails 16 tests on ppc64.

[...]
FAILED tests/test_pytest_mock.py::test_mocker_aliases[ANY] - ValueError: unknown configuration value:...
FAILED tests/test_pytest_mock.py::test_mocker_aliases[call] - ValueError: unknown configuration value...
FAILED tests/test_pytest_mock.py::test_mocker_aliases[create_autospec] - ValueError: unknown configur...
FAILED tests/test_pytest_mock.py::test_mocker_aliases[MagicMock] - ValueError: unknown configuration ...
FAILED tests/test_pytest_mock.py::test_mocker_aliases[Mock] - ValueError: unknown configuration value...
FAILED tests/test_pytest_mock.py::test_mocker_aliases[mock_open] - ValueError: unknown configuration ...
FAILED tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMock] - ValueError: unknown configur...
FAILED tests/test_pytest_mock.py::test_mocker_aliases[PropertyMock] - ValueError: unknown configurati...
FAILED tests/test_pytest_mock.py::test_mocker_aliases[sentinel] - ValueError: unknown configuration v...
FAILED tests/test_pytest_mock.py::test_monkeypatch_native - AssertionError
FAILED tests/test_pytest_mock.py::test_plain_stopall - Failed: nomatch: '* 1 passed in *'
FAILED tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc - AssertionError
FAILED tests/test_pytest_mock.py::test_used_with_class_scope - Failed: nomatch: '* 1 passed in *'
FAILED tests/test_pytest_mock.py::test_used_with_module_scope - Failed: nomatch: '* 1 passed in *'
FAILED tests/test_pytest_mock.py::test_used_with_package_scope - Failed: nomatch: '* 1 passed in *'
FAILED tests/test_pytest_mock.py::test_used_with_session_scope - Failed: nomatch: '* 1 passed in *'
==================== 16 failed, 3 passed, 4 skipped, 1 warning, 39 errors in 10.57s ====================
 * ERROR: dev-python/pytest-mock-3.3.1::gentoo failed (test phase):
 *   Tests fail with python3.7