yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80059
[Bug 1844621] [NEW] Unittest TestBlockCommentsBeginWithASpace not pass
Public bug reported:
==============================
Failed 1 tests - output below:
==============================
keystone.tests.unit.test_hacking_checks.TestBlockCommentsBeginWithASpace.test
-----------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "keystone/tests/unit/test_hacking_checks.py", line 80, in test
self.assert_has_errors(code, expected_errors=errors)
File "keystone/tests/unit/test_hacking_checks.py", line 57, in assert_has_errors
actual_errors = [e[:3] for e in self.run_check(code)]
File "keystone/tests/unit/test_hacking_checks.py", line 52, in run_check
checker.check_all()
File "/opt/jenkins_work/workspace/unittest-keystone/.tox/py27/local/lib/python2.7/site-packages/pep8.py", line 1438, in check_all
self.check_logical()
File "/opt/jenkins_work/workspace/unittest-keystone/.tox/py27/local/lib/python2.7/site-packages/pep8.py", line 1328, in check_logical
(start_row, start_col) = mapping[0][1]
TypeError: 'NoneType' object has no attribute '__getitem__'
Version:
Rocky 14.1.0
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1844621
Title:
Unittest TestBlockCommentsBeginWithASpace not pass
Status in OpenStack Identity (keystone):
New
Bug description:
==============================
Failed 1 tests - output below:
==============================
keystone.tests.unit.test_hacking_checks.TestBlockCommentsBeginWithASpace.test
-----------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "keystone/tests/unit/test_hacking_checks.py", line 80, in test
self.assert_has_errors(code, expected_errors=errors)
File "keystone/tests/unit/test_hacking_checks.py", line 57, in assert_has_errors
actual_errors = [e[:3] for e in self.run_check(code)]
File "keystone/tests/unit/test_hacking_checks.py", line 52, in run_check
checker.check_all()
File "/opt/jenkins_work/workspace/unittest-keystone/.tox/py27/local/lib/python2.7/site-packages/pep8.py", line 1438, in check_all
self.check_logical()
File "/opt/jenkins_work/workspace/unittest-keystone/.tox/py27/local/lib/python2.7/site-packages/pep8.py", line 1328, in check_logical
(start_row, start_col) = mapping[0][1]
TypeError: 'NoneType' object has no attribute '__getitem__'
Version:
Rocky 14.1.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1844621/+subscriptions
Follow ups