testing deprecated functions is annoying
Bug #1503918 reported by
Joshua Harlow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debtcollector |
Fix Released
|
High
|
Joshua Harlow |
Bug Description
When running tests, the warnings code that debtcollector uses calls into linecache (to fetch source lines and such); this can cause problems with mocking open() calls (which tests sometimes do); since linecache also tries to do an open? This ends badly.
So a way to disable debtcollector warnings usage in a temporary manner would be great.
with debtcollector.
<test-code>
Or a decorator equivalent...
description: | updated |
summary: |
- Add ability for debtcollector to drop warnings on the floor + testing deprecated functions is annoying |
Changed in debtcollector: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in debtcollector: | |
assignee: | nobody → Joshua Harlow (harlowja) |
To post a comment you must log in.
Fix in https:/ /review. openstack. org/#/c/ 232638/ merged.