leapp/snactor/fixture.py is not compatible with py3
Closed this issue · 2 comments
zhukovgreen commented
leapp/leapp/snactor/fixture.py
Line 56 in 430ac84
E AttributeError: 'function' object has no attribute 'func_code'
This makes any exception happened during the testing of actors unreadable
fellipeh commented
@zhukovgreen leapp and leapp-repository need to be compatible with both python (py2 and py3), on leapp-repository we use six.PY3
to check it, since six package is one of the requirements..
zhukovgreen commented
@fellipeh I tried to fix it with just func.__code__
, but then it stuck with another issue somewhere when initializing CodeType here:
leapp/leapp/snactor/fixture.py
Lines 20 to 34 in 430ac84
so I gave up for a while, and decided to report:)