Removal decorator does not work on classes using super()

Bug #1500851 reported by Julien Danjou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debtcollector
Triaged
Medium
Unassigned

Bug Description

Traceback (most recent call last):
  File "debtcollector/tests/test_deprecation.py", line 306, in test_class_removal_super
    Foobar()
  File "debtcollector/removals.py", line 101, in wrapper
    return f(*args, **kwargs)
  File "debtcollector/tests/test_deprecation.py", line 304, in __init__
    super(Foobar, self).__init__()
TypeError: must be type, not FunctionWrapper

Julien Danjou (jdanjou)
Changed in debtcollector:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.