Test failures in lp.scripts.tests.test_scriptmonitor on Python 2.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Martin Packman |
Bug Description
When running on Python 2.7 there are three test failures:
lp.
All in the form:
Traceback (most recent call last):
File "/usr/lib/
File "/srv/branches/
self.log = logger(
File "/srv/branches/
File "/srv/branches/
File "/usr/lib/
self.level = _checkLevel(level)
File "/usr/lib/
raise TypeError("Level not an integer or a valid string: %r" % level)
TypeError: Level not an integer or a valid string: None
This is because logging became more strict about what it accepts as a logging level.
Related branches
- Graham Binns (community): Approve (code)
-
Diff: 12 lines (+1/-1)1 file modifiedlib/lp/scripts/tests/test_scriptmonitor.py (+1/-1)
Changed in launchpad: | |
assignee: | nobody → Martin Packman (gz) |
status: | Triaged → In Progress |
tags: |
added: python-upgrade removed: py27 |
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r15505 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 15505>.