[Python-modules-team] Bug#802361: unittest2: FTBFS: FAIL: test_loadTestsFromName__relative_malformed_name
Chris West (Faux)
solo-debianbugs at goeswhere.com
Mon Oct 19 18:16:34 UTC 2015
Source: unittest2
Version: 1.1.0-6
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
The package fails to build:
Ran 383 tests in 0.410s
OK (skipped=3)
I: pybuild base:170: python3.5 -m unittest2
................................................................s........s.......................................................................................................................................F.....................F.......................................................................................................................................................
======================================================================
FAIL: test_loadTestsFromName__relative_malformed_name (unittest2.test.test_loader.Test_TestLoader)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/unittest2-1.1.0/unittest2/test/test_loader.py", line 425, in check_module_lookup_error
"'module' object has no attribute '%s'" % attr, attr, regex)
File "/unittest2-1.1.0/unittest2/test/test_loader.py", line 417, in _check_module_lookup_error
'missing error string in %r' % error)
File "/unittest2-1.1.0/unittest2/case.py", line 1097, in assertIn
self.fail(self._formatMessage(msg, standardMsg))
AssertionError: "'module' object has no attribute 'abc () //'" not found in 'Failed to access attribute:\nTraceback (most recent call last):\n File "/unittest2-1.1.0/unittest2/loader.py", line 187, in loadTestsFromName\n parent, obj = obj, getattr(obj, part)\nAttributeError: module \'unittest2\' has no attribute \'abc () //\'\n' : missing error string in 'Failed to access attribute:\nTraceback (most recent call last):\n File "/unittest2-1.1.0/unittest2/loader.py", line 187, in loadTestsFromName\n parent, obj = obj, getattr(obj, part)\nAttributeError: module \'unittest2\' has no attribute \'abc () //\'\n'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/unittest2-1.1.0/unittest2/test/test_loader.py", line 518, in test_loadTestsFromName__relative_malformed_name
error, test, 'unittest2', 'abc () //', 'abc \(\) //')
File "/unittest2-1.1.0/unittest2/test/test_loader.py", line 429, in check_module_lookup_error
"module '%s' has no attribute '%s'" % (name, regex), attr, regex)
File "/unittest2-1.1.0/unittest2/test/test_loader.py", line 417, in _check_module_lookup_error
'missing error string in %r' % error)
AssertionError: "module 'unittest2' has no attribute 'abc \\(\\) //'" not found in 'Failed to access attribute:\nTraceback (most recent call last):\n File "/unittest2-1.1.0/unittest2/loader.py", line 187, in loadTestsFromName\n parent, obj = obj, getattr(obj, part)\nAttributeError: module \'unittest2\' has no attribute \'abc () //\'\n' : missing error string in 'Failed to access attribute:\nTraceback (most recent call last):\n File "/unittest2-1.1.0/unittest2/loader.py", line 187, in loadTestsFromName\n parent, obj = obj, getattr(obj, part)\nAttributeError: module \'unittest2\' has no attribute \'abc () //\'\n'
Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/unittest2.html
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
More information about the Python-modules-team
mailing list