Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 332488 Details for
Bug 447482
dev-python/python-gflags-2.0: tests fail with python2.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
The build log
build-python2.7.log (text/plain), 14.11 KB, created by
Michał Górny
on 2012-12-16 16:10:16 UTC
(
hide
)
Description:
The build log
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2012-12-16 16:10:16 UTC
Size:
14.11 KB
patch
obsolete
>/usr/bin/python2.7 setup.py build --build-base /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7 --build-lib /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7/lib build >running build >running build_py >creating /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7 >creating /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7/lib >copying gflags.py -> /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7/lib >copying gflags_validators.py -> /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7/lib >running egg_info >writing python_gflags.egg-info/PKG-INFO >writing top-level names to python_gflags.egg-info/top_level.txt >writing dependency_links to python_gflags.egg-info/dependency_links.txt >reading manifest file 'python_gflags.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >writing manifest file 'python_gflags.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > >running build_scripts >creating /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7/scripts-2.7 >copying and adjusting gflags2man.py -> /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7/scripts-2.7 >changing mode of /tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0-python2_7/scripts-2.7/gflags2man.py from 644 to 755 >............. >---------------------------------------------------------------------- >Ran 13 tests in 0.133s > >OK >.........E......EEEWarning: Hit circular flagfile dependency: /tmp/portage/dev-python/python-gflags-2.0/temp/python2.7/gflags_unittestBekLWd/UnitTestFile3.tst >EEEEE..E.EEF......... >====================================================================== >ERROR: test_flags (__main__.FlagsUnitTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 135, in test_flags > self.assertEqual(keys, reg_flags) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testMethod_flagfiles_1 (__main__.LoadFromFlagFileTest) >Test trivial case with no flagfile based options. >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 990, in testMethod_flagfiles_1 > self.assertEqual( fake_argv, self._ReadFlagsFromFiles(fake_argv, False)) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testMethod_flagfiles_2 (__main__.LoadFromFlagFileTest) >Tests parsing one file + arguments off simulated argv >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1010, in testMethod_flagfiles_2 > self.assertEqual(expected_results, test_results) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testMethod_flagfiles_3 (__main__.LoadFromFlagFileTest) >Tests parsing nested files + arguments of simulated argv >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1029, in testMethod_flagfiles_3 > self.assertEqual(expected_results, test_results) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testMethod_flagfiles_4 (__main__.LoadFromFlagFileTest) >Tests parsing self-referential files + arguments of simulated argv. >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1047, in testMethod_flagfiles_4 > self.assertEqual(expected_results, test_results) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testMethod_flagfiles_5 (__main__.LoadFromFlagFileTest) >Test that --flagfile parsing respects the '--' end-of-options marker. >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1061, in testMethod_flagfiles_5 > self.assertEqual(expected_results, test_results) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testMethod_flagfiles_6 (__main__.LoadFromFlagFileTest) >Test that --flagfile parsing stops at non-options (non-GNU behavior). >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1076, in testMethod_flagfiles_6 > self.assertEqual(expected_results, test_results) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testMethod_flagfiles_7 (__main__.LoadFromFlagFileTest) >Test that --flagfile parsing skips over a non-option (GNU behavior). >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1094, in testMethod_flagfiles_7 > self.assertEqual(expected_results, test_results) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testMethod_flagfiles_8 (__main__.LoadFromFlagFileTest) >Test that --flagfile parsing respects force_gnu=True. >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1111, in testMethod_flagfiles_8 > self.assertEqual(expected_results, test_results) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: test_SetDefault (__main__.LoadFromFlagFileTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1216, in test_SetDefault > self.assertEqual(self.flag_values.UnitTestList, ['4', '5', '6']) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: test_no_touchy_non_flags (__main__.LoadFromFlagFileTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1160, in test_no_touchy_non_flags > self.assertEqual(argv, fake_argv[:1] + fake_argv[2:]) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: test_parse_flags_after_args_if_using_gnu_getopt (__main__.LoadFromFlagFileTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 1170, in test_parse_flags_after_args_if_using_gnu_getopt > self.assertEqual(argv, ['fooScript', 'command']) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >FAIL: testBadMultiNumericalFlags (__main__.MultiNumericalFlagsTest) >Test multi_int and multi_float flags with non-parseable values. >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_unittest.py", line 819, in testBadMultiNumericalFlags > gflags.DEFINE_multi_float, 'm_float2', ['abc'], 'desc') > File "/tmp/portage/dev-python/python-gflags-2.0/work/python-gflags-2.0/tests/gflags_googletest.py", line 113, in assertRaisesWithRegexpMatch > "'%s' does not match '%s'" % (regexp, why)) >AssertionError: 'flag --m_float2=abc: invalid literal for float\(\): abc' does not match 'flag --m_float2=abc: could not convert string to float: abc' > >---------------------------------------------------------------------- >Ran 40 tests in 0.255s > >FAILED (failures=1, errors=12) > [33;01m*[0m Tests fail with python2.7 >EEEEEEEE >====================================================================== >ERROR: testDefaultValueNotUsedSuccess (__main__.SimpleValidatorTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_validators_test.py", line 85, in testDefaultValueNotUsedSuccess > self.assertEquals([1], self.call_args) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testErrorMessageWhenCheckerRaisesExceptionOnStart (__main__.SimpleValidatorTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_validators_test.py", line 184, in testErrorMessageWhenCheckerRaisesExceptionOnStart > self.assertEquals([1], self.call_args) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testErrorMessageWhenCheckerReturnsFalseOnStart (__main__.SimpleValidatorTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_validators_test.py", line 165, in testErrorMessageWhenCheckerReturnsFalseOnStart > self.assertEquals([1], self.call_args) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testExceptionRaisedIfCheckerFails (__main__.SimpleValidatorTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_validators_test.py", line 124, in testExceptionRaisedIfCheckerFails > self.assertEquals([1, 2], self.call_args) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testExceptionRaisedIfCheckerRaisesException (__main__.SimpleValidatorTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_validators_test.py", line 146, in testExceptionRaisedIfCheckerRaisesException > self.assertEquals([1, 2], self.call_args) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testSuccess (__main__.SimpleValidatorTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_validators_test.py", line 69, in testSuccess > self.assertEquals([None, 2], self.call_args) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testValidatorNotCalledWhenOtherFlagIsChanged (__main__.SimpleValidatorTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_validators_test.py", line 104, in testValidatorNotCalledWhenOtherFlagIsChanged > self.assertEquals([1], self.call_args) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >====================================================================== >ERROR: testValidatorsCheckedInOrder (__main__.SimpleValidatorTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "gflags_validators_test.py", line 198, in testValidatorsCheckedInOrder > self.assertEquals(['Required', 'Even'], self.calls) > File "/usr/lib64/python2.7/unittest/case.py", line 511, in assertEqual > assertion_func(first, second, msg=msg) >TypeError: assertListEqual() got an unexpected keyword argument 'msg' > >---------------------------------------------------------------------- >Ran 8 tests in 0.019s > >FAILED (errors=8) > [33;01m*[0m Tests fail with python2.7
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 447482
: 332488