Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437296 - Version bump dev-python/nose-1.2.1
Summary: Version bump dev-python/nose-1.2.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-05 12:26 UTC by Dirkjan Ochtman (RETIRED)
Modified: 2013-01-02 12:29 UTC (History)
0 users

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 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-10-05 12:26:13 UTC
======================================================================
ERROR: runTest (test_coverage_plugin.TestCoverageMinPercentagePlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/nose-1.2.1/work/nose-1.2.1/functional_tests/test_coverage_plugin.py", line 51, in setUp
    super(TestCoverageMinPercentagePlugin, self).setUp)
AssertionError: SystemExit not raised
-------------------- >> begin captured stdout << ---------------------
hi

--------------------- >> end captured stdout << ----------------------

======================================================================
ERROR: runTest (test_coverage_plugin.TestCoverageMinPercentageTOTALPlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/nose-1.2.1/work/nose-1.2.1/functional_tests/test_coverage_plugin.py", line 72, in setUp
    super(TestCoverageMinPercentageTOTALPlugin, self).setUp)
AssertionError: SystemExit not raised
-------------------- >> begin captured stdout << ---------------------
hi

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: runTest (test_coverage_plugin.TestCoveragePlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/nose-1.2.1/work/nose-1.2.1/functional_tests/test_coverage_plugin.py", line 28, in runTest
    self.assertTrue("blah        4      3    25%   1" in self.output)
AssertionError: False is not true
-------------------- >> begin captured stdout << ---------------------
hi

--------------------- >> end captured stdout << ----------------------
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-11-10 14:51:50 UTC
nose # USE_PYTHON="2.6 2.7 2.7-pypy-1.9 3.1 3.2" ebuild nose-1.2.1.ebuild clean test

 * Testing of dev-python/nose-1.2.1 with CPython 2.6...
----------------------------------------------------------------------
Ran 366 tests in 22.105s

OK
 * Testing of dev-python/nose-1.2.1 with CPython 2.7...

----------------------------------------------------------------------
Ran 366 tests in 22.397s

OK
 * Testing of dev-python/nose-1.2.1 with PyPy 1.9 (Python 2.7)...
----------------------------------------------------------------------
Ran 366 tests in 57.602s

OK (SKIP=4)
 * Testing of dev-python/nose-1.2.1 with CPython 3.1...
----------------------------------------------------------------------
Ran 362 tests in 23.337s

OK (SKIP=8)
 * Testing of dev-python/nose-1.2.1 with CPython 3.2...

======================================================================
FAIL: Doctest: multiprocess.rst
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for multiprocess.rst
  File "/mnt/gen2/TmpDir/portage/dev-python/nose-1.2.1/work/nose-1.2.1/build/tests/functional_tests/doc_tests/test_multiprocess/multiprocess.rst", line 0

----------------------------------------------------------------------
File "/mnt/gen2/TmpDir/portage/dev-python/nose-1.2.1/work/nose-1.2.1/build/tests/functional_tests/doc_tests/test_multiprocess/multiprocess.rst, line 222, in multiprocess.rst

line 222 reads

    >>> run(argv=['nosetests', '-v', '--processes=2', test_can_split],
    ...     plugins=[MultiProcess()]) #doctest: +ELLIPSIS

it aborts on processing the line

    test_can_split.TestMe.test_one ... ok

someone will know what it 'mean'.  I'm fairly certain it's to do with the ELLIPSIS option because it's supposed to come out as

    test_can_split....

1 test out 354 in just one python version.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-01 23:51:13 UTC
@djc, I think your errors may come from lack of coverage. If that's the case, I think we should simply enable it unconditionally.

The bad thing is that there is a lot of trouble with the parallel builds in this ebuild. Some of the tests simply fork like crazy and no reasonable PC can withstand that.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-02 12:29:59 UTC
I have committed the bumped ebuilds. I will take a second look at the tests in the evening.