Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 551618 Details for
Bug 668836
dev-python/pytest-mock-1.6.0: test_pytest_mock.py:119: Failed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
pytest-mock-1.6.0:20181016-221747.log (text/plain), 6.65 KB, created by
ernsteiswuerfel
on 2018-10-16 22:26:16 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
ernsteiswuerfel
Created:
2018-10-16 22:26:16 UTC
Size:
6.65 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/pytest-mock-1.6.0 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: zmedico@gentoo.org python@gentoo.org >[32;01m * [39;49;00mUSE: abi_ppc_32 elibc_glibc kernel_linux ppc python_targets_python2_7 python_targets_python3_6 userland_GNU >[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pytest-mock-1.6.0.tar.gz to /var/tmp/portage/dev-python/pytest-mock-1.6.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytest-mock-1.6.0/work >>>> Preparing source in /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0 ... > [32;01m*[0m python2_7: running distutils-r1_run_phase distutils-r1_python_compile >python2.7 setup.py build >running build >running build_py >copying pytest_mock.py -> /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0-python2_7/lib >copying _pytest_mock_version.py -> /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0-python2_7/lib >warning: build_py: byte-compiling is disabled, skipping. > > [32;01m*[0m python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build >running build >running build_py >copying pytest_mock.py -> /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0-python3_6/lib >copying _pytest_mock_version.py -> /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0-python3_6/lib >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/pytest-mock-1.6.0 > [32;01m*[0m python2_7: running distutils-r1_run_phase python_test >========================================= test session starts ========================================= >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.5.4, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0, inifile: >plugins: mock-1.6.0, xdist-1.23.2, forked-0.2, describe-0.11.1, hypothesis-3.59.1 >collected 42 items > >test_pytest_mock.py ....F.....................x..x............ > >============================================== FAILURES =============================================== >___________________________________ test_mock_fixture_is_deprecated ___________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-mock-1.6.0/temp/pytest-of-portage/pytest-0/testdir/test_mock_fixture_is_deprecated0')> > > def test_mock_fixture_is_deprecated(testdir): > """ > Test that a warning emitted when using deprecated "mock" fixture. > """ > testdir.makepyfile(''' > import warnings > import os > warnings.simplefilter('always') > > def test_foo(mock, tmpdir): > mock.patch('os.listdir', return_value=['mocked']) > assert os.listdir(str(tmpdir)) == ['mocked'] > mock.stopall() > assert os.listdir(str(tmpdir)) == [] > ''') > result = testdir.runpytest('-s') >> result.stderr.fnmatch_lines(['*"mock" fixture has been deprecated*']) >E Failed: nomatch: '*"mock" fixture has been deprecated*' >E and: u'' >E remains unmatched: '*"mock" fixture has been deprecated*' > >../../../../../work/pytest-mock-1.6.0/test_pytest_mock.py:119: Failed >---------------------------------------- Captured stdout call ----------------------------------------- >========================================= test session starts ========================================= >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.5.4, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-mock-1.6.0/temp/pytest-of-portage/pytest-0/testdir/test_mock_fixture_is_deprecated0, inifile: >plugins: mock-1.6.0, xdist-1.23.2, forked-0.2, describe-0.11.1, hypothesis-3.59.1 >collected 1 item > >test_mock_fixture_is_deprecated.py . > >========================================== warnings summary =========================================== >test_mock_fixture_is_deprecated.py::test_foo > /var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0/pytest_mock.py:166: DeprecationWarning: "mock" fixture has been deprecated, use "mocker" instead > DeprecationWarning) > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >================================ 1 passed, 1 warnings in 0.01 seconds ================================= >=========================== 1 failed, 39 passed, 2 xfailed in 2.03 seconds ============================ > [31;01m*[0m ERROR: dev-python/pytest-mock-1.6.0::gentoo failed (test phase): > [31;01m*[0m (no error message) > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 124: Called src_test > [31;01m*[0m environment, line 2633: Called distutils-r1_src_test > [31;01m*[0m environment, line 881: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 332: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2163: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1535: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1533: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 544: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 812: Called python_test > [31;01m*[0m environment, line 2532: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} py.test test_pytest_mock.py || die > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pytest-mock-1.6.0::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pytest-mock-1.6.0::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/dev-python/pytest-mock-1.6.0:20181016-221747.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pytest-mock-1.6.0/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-mock-1.6.0/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0' > [31;01m*[0m S: '/var/tmp/portage/dev-python/pytest-mock-1.6.0/work/pytest-mock-1.6.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 668836
: 551618 |
551620