Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611768 - dev-python/testscenarios-0.5.0 fails tests but proceeds anyway
Summary: dev-python/testscenarios-0.5.0 fails tests but proceeds anyway
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-05 07:21 UTC by Mart Raudsepp
Modified: 2018-04-20 19:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2017-03-05 07:21:21 UTC
Fails tests for python3_5 and python3_6, but then proceeds as no issue

>>> Source compiled.
>>> Test phase: dev-python/testscenarios-0.5.0
 * python2_7: running distutils-r1_run_phase python_test
................
----------------------------------------------------------------------
Ran 16 tests in 0.060s

OK
 * python3_4: running distutils-r1_run_phase python_test
................
----------------------------------------------------------------------
Ran 16 tests in 0.032s

OK
 * python3_5: running distutils-r1_run_phase python_test
.E
======================================================================
ERROR: testscenarios (unittest.loader._FailedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-python/testscenarios-0.5.0/work/testscenarios-0.5.0/testscenarios/__init__.py", line 74, in load_tests
    standard_tests.addTests(loader.loadTestsFromNames(["testscenarios.tests"]))
AttributeError: 'TestLoader' object has no attribute 'addTests'

----------------------------------------------------------------------
Ran 2 tests in 0.003s

FAILED (errors=1)
 * python3_6: running distutils-r1_run_phase python_test
.E
======================================================================
ERROR: testscenarios (unittest.loader._FailedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-python/testscenarios-0.5.0/work/testscenarios-0.5.0/testscenarios/__init__.py", line 74, in load_tests
    standard_tests.addTests(loader.loadTestsFromNames(["testscenarios.tests"]))
AttributeError: 'TestLoader' object has no attribute 'addTests'

----------------------------------------------------------------------
Ran 2 tests in 0.008s

FAILED (errors=1)
 * python2_7: running distutils-r1_run_phase _clean_egg_info
 * python3_4: running distutils-r1_run_phase _clean_egg_info
 * python3_5: running distutils-r1_run_phase _clean_egg_info
 * python3_6: running distutils-r1_run_phase _clean_egg_info
>>> Completed testing dev-python/testscenarios-0.5.0

>>> Install testscenarios-0.5.0 into /tmp/portage/dev-python/testscenarios-0.5.0/image/ category dev-python
 * python2_7: running distutils-r1_run_phase distutils-r1_python_install
Comment 1 Mart Raudsepp gentoo-dev 2018-04-20 18:30:55 UTC
ping..
Comment 2 Larry the Git Cow gentoo-dev 2018-04-20 19:06:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b268d1a86c83993a2e3434d96d81f1d293a117

commit 97b268d1a86c83993a2e3434d96d81f1d293a117
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-04-20 19:00:25 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-04-20 19:06:35 +0000

    dev-python/testscenarios: Fix ignoring test failures
    
    Closes: https://bugs.gentoo.org/611768

 dev-python/testscenarios/testscenarios-0.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)