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
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  Edit
Everyone can see this information.

Other bug subscribers