Summary: | dev-python/unittest2: tests fail with CPython when parallel build is used | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | jlec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log for python2.7 |
Parallel build isn't supported anymore |
Created attachment 334748 [details] Build log for python2.7 It happens only with parallel build (some kind of signal switching?), and it happens only with CPython (pypy is fine). ERROR: testHandlerReplacedButCalled (unittest2.test.test_break.TestBreak) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/unittest2-0.5.1-r200/work/unittest2-0.5.1-python2_7/lib/unittest2/test/test_break.py", line 136, in testHandlerReplacedButCalled os.kill(pid, signal.SIGINT) File "/tmp/portage/dev-python/unittest2-0.5.1-r200/work/unittest2-0.5.1-python2_7/lib/unittest2/test/test_break.py", line 131, in new_handler handler(frame, signum) File "/tmp/portage/dev-python/unittest2-0.5.1-r200/work/unittest2-0.5.1-python2_7/lib/unittest2/signals.py", line 19, in __call__ self.default_handler(signum, frame) TypeError: 'int' object is not callable